if there is an error, we do have unsaved changes