polygon-edit: fix add polygon
polygon-edit: serialize & deserialize inner lines of polygon