G4.08.4leave prompts only where data would actually be lostdesignresearch

Leave prompts only where data would actually be lost; overuse numbs people

Aliases: leave-prompt habituation · cry wolf · warning fatigue

What it is

A leave prompt is a costly interruption: it claims “one more step will cost something you care about.” If that step has no unsubmitted data and no unrecoverable state, the claim is false. After a few false claims, true claims are dismissed with the same action. Use the prompt only where data would actually be lost. Turning “welcome back” and “sure you want to leave this intro page?” into the same kind of dialog trains people to tap Leave.

Why it happens

Warning research in the Wogalter line calls this habituation: when a signal’s diagnosticity drops, the response drops. Leave dialogs are made to look alike by browsers and operating systems; products cannot restyle their way back to diagnosticity. They can only fire less to keep “this time it’s real.” Every no-loss popup teaches that the box means “tap confirm to proceed.” When a true unsaved state appears, the action is already automatic.

Abuse also has a product incentive: growth pages afraid of churn, surveys afraid of drop-off, every outbound link demanding “you are about to leave.” Those boxes protect a metric, not the person’s data. People learn fast that the boxes do not protect them, and they dismiss the one that would. Numbness migrates across dialogs: habituation to harmless leave prompts also dismisses a high-risk trust confirm with the same finger.

Studying it

Expose people to leave prompts on no-loss pages several times, then enter a page with a truly unsaved edit, and see whether they confirm without reading.

  • Independent variables: number of prior no-loss prompts and whether they look like the true prompt, whether the true prompt names what would be lost.
  • Dependent variables: reading time on the true prompt, rate of accidental discard, verbal “these boxes are all the same.”
  • Methodological note: habituation stacked inside one lab session is faster and shallower than habituation grown over real days; keep conclusions conservative. Different chrome (native beforeunload vs a product modal) may slow transfer; score them separately, and do not assume abuse of one box contaminates the other.

Where it stops holding

Assistive-tech users rely on a dialog to learn that a document teardown is about to happen; dropping beforeunload entirely makes tab close a silent loss. What should remain is the one firing when dirty, not the hook on a clean state. A legally required “leaving means you abandon” still needs a prompt, but the copy should state the legal consequence, not impersonate unsaved work. Interfaces for children or older adults that confirm every navigation are a different over-protection and will also numb; this leaf is not a licence to add more boxes.

Applying it

  • Write the trigger as “there are unsubmitted changes that would be lost.” When the dirty flag is false, do not arm the hook.
  • Do not give marketing retainers, survey drop-off intercepts, or ordinary outbound confirms the same look and place as the unsaved dialog.
  • A true prompt names the concrete loss (“unsent comment,” “3 unsaved edits”), not “are you sure you want to leave.”
  • Verify: walk a browsing path with nothing unsaved; no leave box should appear. Then change one character in an editor and leave; only then may a box appear, and it must name the object that would be lost. As a counter-example, hang “sure you want to leave” on every intro-page link, then measure accidental discard in the editor—that is numbness.

Related

  • Within the group: G4.08.1 External links must look different from in-site links so the jump can be predicted · G4.08.2 Leaving with unsaved changes must intercept, not silently discard · G4.08.3 Jumping to another domain is a trust transfer; high-risk cases need a second confirm · G4.08.5 Outbound jumps may send referrer data; sensitive cases must disclose or block
  • Adjacent: H3.05 Overuse of confirm dialogs · H5.08 Alert fatigue · A5.16 Habituation and prompt failure
  • Search terms: warning habituation · cry wolf · beforeunload

Cards in the same group

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/handbook/G4.08.4