deactivate dialog box UI