Committing previously unsaved changes from svg editor