Rule 1.1, Principles

Confirm before anything irreversible

Hard

Rule. Ask the person to confirm any action that cannot be undone, and name the result on the confirm button.

Why. A mistake that cannot be undone costs more than one extra step. See 8.12 and 7.12.

When not. An action the person can undo at once can skip the dialog if an undo link follows.

Do. A dialog states the loss and the named button.

Don't. The file vanishes at once, with no way back.