removed unnecessary dialogs