fixed a bug that did not set the isEditing flag to false when the user clicks No to the unsaved data confirmation with no dirty data