Commit unsaved changes.