Modified editable-polygon.