UI Patterns → Confirm Dialog

Confirm Dialog Demo

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam fermentum erat ullamcorper erat vulputate fermentum. Morbi posuere neque et lacus tempor ultricies. Nullam sapien nisi, ullamcorper in mollis volutpat, fermentum vel lorem.

Pattern and Usage

The confirmation dialog is meant to ensure that a user intends to perform an action. This is often done in cases where actions cannot be undone (such as deleting something) or when something substantial will happen (like sending email updates, perhaps).

The user will be responsible for choosing "yes" or "no" and the action will not be taken if they choose the latter. You can also use the confirmation dialog to give users any important message before they make their decision.