Confirmation Dialog
A Confirmation Dialog is a type of modal or pop-up window that asks users to confirm or deny an action before it is completed. Common examples include confirming the deletion of a file or finalizing a purchase. Confirmation dialogs help prevent unintended actions, such as accidental submissions, and ensure that users are aware of the consequences before proceeding.
Confirmation dialogs prevent costly irreversible actions — deleting data, canceling a subscription, overwriting a file — but overusing them trains users to dismiss them without reading, defeating the purpose. The design principle is to reserve confirmations for genuinely destructive or unrecoverable actions, and to write dialog copy that clearly explains the consequence rather than just asking 'Are you sure?'
