Edit polyline with curves in it

RH-52064 is fixed in the latest WIP