committing previously unsaved changes