on disabling save button