Added unsaved changes confirm prompt