polygon-edit: save/load zoom & mode to/from local storage