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.
Some human interface guidelines recommend avoiding unnecessary confirmation dialogs.
[3] 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.
This graphical user interface article is a stub.