Article · Wikipedia archive · Last revised Jul 20, 2026

Confirmation dialog

Confirmation dialog is a dialog box that asks user to approve requested operation. Usually this dialog appears before a potentially dangerous operation is performed

Last revised
Jul 20, 2026
Read time
≈ 1 min
Length
120 w
Citations
4
Source

Confirmation dialog (sometimes called a warning alert box)1 is a dialog box that asks user to approve requested operation. Usually this dialog appears before a potentially dangerous operation is performed (program termination, file deletion, etc.)

Typically confirmation dialog boxes have two buttons (e.g. Yes / No, Confirm / Cancel) or three buttons (e. g. Save / Discard / Cancel).

Some human interface guidelines recommend avoiding unnecessary confirmation dialogs.2 BlackBerry and Sun Java UI guidelines recommended a confirmation button be put before a cancellation button; but a default button should not be associated with a major destructive action.13

References

References

See also

See also