Overlays
Alert dialog
Confirms a destructive or irreversible action; clicking outside does not dismiss it.
npx dtheo@latest add alert-dialogWhen to use
- Deleting data, discarding unsaved work, irreversible operations
- Routine confirmations: offer undo instead
Keyboard
- Escape
- Cancels
- Name the consequence in the title ("Delete 3 runs?") and the action in the button ("Delete runs").