Dialog box

Although this is a frequent interaction pattern for modal dialogs, it is also criticized by usability experts as being ineffective for its intended use, which is to protect against errors caused by destructive actions,[2] and for which better alternatives exist.

In general, good software design calls for dialogs to be of this type where possible, since they do not force the user into a particular mode of operation.

The user can continue adding text to the main window whatever color it is, but can change it at any time using the dialog.

(This isn't meant to be an example of the best possible interface for this; often the same functionality may be accomplished by toolbar buttons on the application's main window.)

Usability practitioners generally regard modal dialogs as bad design-solutions, since they are prone to produce mode errors.

Example of a dialog box of gedit .