reset was_modified after save.