Checking for unsaved changes must be turned on