commit before closing project editor