nunaliit2-js: When editing a document, allow map to draw a new geometry.

Issue #264