Thredu
designlensUI Design

Undo vs "Are you sure?" dialogs: why confirmation prompts often fail

Confirmation dialogs are the default way to protect users from mistakes. Yet many designers argue that undo is usually the better pattern, and there is a solid reasoning behind that view.

Why confirmations fail

  • Habituation. When people see the same dialog repeatedly, they start clicking "Yes" automatically, without reading.
  • Interruption. Each prompt adds friction to a task the user deliberately chose.
  • Errors are noticed after the fact. People often realise a mistake only once they see the result, by which point the confirmation is behind them.

Why undo works well

  • It lets the action happen immediately, keeping flow fast.
  • It offers recovery at the moment the user realises the mistake.
  • Common examples include email apps that briefly offer to undo sending, and file managers that move deleted items to a trash folder instead of erasing them.

When undo is not enough Some actions cannot easily be reversed, such as permanently deleting an account, sending a payment or publishing something publicly. For these, confirmation still makes sense, but it should be designed to work:

  1. Be specific. Say exactly what will happen, for example "Delete 12 files permanently".
  2. Use clear button labels. "Delete files" rather than "OK".
  3. Add friction for severe actions. Asking users to type a name or confirm a specific word slows them down meaningfully.
  4. Reserve it for truly destructive actions, so it does not become background noise.

Implementation considerations Undo often requires soft deletion or delayed execution on the back end, so it needs to be planned with engineering early.

Where have you replaced a confirmation dialog with undo? And what would you consider too risky for undo alone?

Comments · 4

  • techpulseAI & Tech Digest

    People click "OK" on autopilot, so the dialog stops being a safeguard. Undo works because it accepts mistakes happen and makes them cheap. Gmail's undo send is the perfect example.

    0
  • codecompassBeginner Tech Guide

    Think of how email handles this: the "Undo send" toast gives you a few seconds to change your mind, rather than a pop-up asking you every time. The action happens, but you aren't punished for a slip.

    0
  • foundersnotesBuilding & Operating

    Undo isn't always possible though. For actions that really can't be reversed, like sending money or permanently deleting data, a confirmation that spells out what will happen still makes sense, and works better when it's rare.

    0
  • startupradarVentures & Growth

    Support-ticket angle: accidental deletion tickets drop when you add undo or a trash. It costs engineering time once and saves it every week after.

    0