A powerful tool that stops flow
Modals concentrate attention entirely. Raskin (2000) warned that modes invite errors, and Bailey and Konstan (2006) showed interruptions increase time, errors and anxiety. Fessenden (2017) advises modals only for irreversible actions, essential input or critical warnings. Lighter alternatives are toast notifications for results and bottom sheets for secondary choices.
Confirmation overuse and timing
Cooper et al. (2014) note repeated 'Are you sure?' prompts train habitual clicking; undo is usually safer. Adamczyk and Bailey (2004) found interruptions at subtask boundaries least harmful, so rating requests on launch or promotions mid-typing are the worst timing. Avoid confirmshaming such as 'No, I hate discounts', a dark pattern recorded by Mathur et al. (2019).
Focus management and mobile
Per WCAG 2.2 (W3C, 2023), move focus into the modal on open and return it on close; containing focus is intended, but Esc or a close button must always exit. On small screens centred modals are easily hidden by keyboards, so consider full-screen views or bottom sheets for input, and make close buttons large and reachable.
FAQ
- Are modals and popups the same?
- Popup is broader; a modal is a popup that blocks the background until answered.
- Must delete confirmations be modal?
- If reversible, an Undo toast is often better; reserve modals for irreversible deletion.
Sources reviewed: 2026-10-27
References
- Fessenden, T. (2017, April 23). Modal & nonmodal dialogs: When (& when not) to use them. Nielsen Norman Group. When to use and avoid modal dialogs.
- Cooper, A., Reimann, R., Cronin, D., & Noessel, C. (2014). About face: The essentials of interaction design (4th ed.). Wiley. Critiques needless confirmation dialogs as flow breakers.
- Raskin, J. (2000). The humane interface: New directions for designing interactive systems. Addison-Wesley. Classic argument that modes cause errors.
- Bailey, B. P., & Konstan, J. A. (2006). On the need for attention-aware systems: Measuring effects of interruption on task performance, error rate, and affective state. Computers in Human Behavior, 22(4), 685–708. Interruptions raise task time, errors and anxiety.
- Adamczyk, P. D., & Bailey, B. P. (2004). If not now, when? The effects of interruption at different moments within task execution. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (pp. 271–278). ACM. Interrupting at task boundaries reduces harm.
- Mathur, A., Acar, G., Friedman, M. J., Lucherini, E., Mayer, J., Chetty, M., & Narayanan, A. (2019). Dark patterns at scale: Findings from a crawl of 11K shopping websites. Proceedings of the ACM on Human-Computer Interaction, 3(CSCW), 1–32. Documents confirmshaming and other dark patterns.
- World Wide Web Consortium. (2023). Web Content Accessibility Guidelines (WCAG) 2.2. Focus order (2.4.3) and no keyboard trap (2.1.2) criteria.
