You probably have been there before. How do we choose between showing a modal to users, and when do we navigate them to a separate, new page? And does it matter at all?
Actually it does. The decision influences user’s flow, their context, their ability to look up details, and with it error frequency and task completion. Both options can be disruptive and frustrating — at the wrong time, and at the wrong place.
So we better get it right — well, let’s see how to do just that.
While we often speak about a single modal UI component, we often ignore fine intricate nuances between all the different types of modals. In fact, not every modal is the same. Modals, dialogs, overlays and lightboxes — all sound similar, but they are actually quite different:
As Anna Kaley highlights, most overlays appear at the wrong time, interrupt users during critical tasks, use poor language and break user’s flow. They are interruptive by nature, and typically with a high level of severity without a strong need for that.
Surely users must be slowed down and interrupted if consequences of their action have high impact, but for most scenarios non-modals are much more subtle and more friendly option to bring something to user’s attention. If anything, I always suggest it to be a default.
As designers, we often dismiss modals as irrelevant and annoying — (and often they are!) — yet they have their value as well. They can be very helpful to warn users about potential mistakes or help them avoid data loss. They can also help perform related actions or drill down into details without interrupting the current state of the page.
But the biggest advantage of modals is that they help users keep the context of the current screen. It doesn’t mean just the UI — but also edited input, scrolling position, state of accordions, selection of filters, sorting etc.
At times users need to confirm a selection quickly (e.g filters as shown above) and then proceed immediately from there. Auto-save can achieve the same of course, but it’s not always needed or desired. And blocking the UI is often not a good idea.
However, modals aren’t used for any tasks — typically we use them for single, self-contained tasks where users should jump in, complete a task and then return to where they were. Unsurprisingly, they do work well for high-priority, short interactions (e.g. alerts, destructive actions, quick confirmations).
When modals help:
Wizards or tabbed navigation within modals doesn’t work too well, even in complex enterprise products — there, side panels or drawers typically work better. Troubles start when users need to compare or reference data points — yet modals block this behavior, so they re-open the same page in multiple tabs instead.
For more complex flows and multi-step processes standalone pages work best. Pages also work better when they demand user’s full attention and reference to the previous screen isn’t very helpful. And drawers work for sub-tasks that are too complex for a simple modal, but don't need a full page navigation.
When to avoid modals:
In many complex, task-heavy products, users will find themselves performing the same tasks repeatedly, over and over again. There, both modals and new page navigations add friction — because they interrupt a flow or force users to gather missing data between all the different tabs or views.
Too often users end up with a broken experience, full of never-ending confirmations, exaggerated warnings, verbose instructions or just missing reference points. As Saulius Stebulis mentioned, in these scenarios, expandable sections or in-place editing often work better — they keep the task anchored to the current screen.
In practice, in many scenarios users don’t complete their tasks in isolation — they need to look up data, copy-paste values, refine entry in different places, or just review similar records as they work through their tasks.
Overlays and drawers are more helpful in maintaining access to background data during the task. As a result, the context always stays in its place, available for reference or copy-paste. Save modals and page navigation for moments where the interruption genuinely adds value — especially to prevent critical mistakes.
A while back Ryan Neufeld has put together a very helpful guide to help designers choose between modals and pages. It comes with a handy PNG cheatsheet and a Google Doc template with questions broken down across 7 sections.
It’s lengthy, extremely thorough, but very easy to follow:
It might look daunting, but it's a quite simple 4-step process:
Whenever possible, avoid blocking the entire UI. Have a dialog floating, partially covering the UI, but allowing navigation, scrolling and copy-pasting. Or show the contents of the modal as a side drawer. Or use a vertical accordion instead. Or bring users to a separate page if you need to show a lot of detail.
But if you want to boost user’s efficiency and speed, avoid modals at all costs. Use them to slow users down, to bundle their attention, to prevent mistakes. As Therese Fessenden noted, no one likes to be interrupted, but if you must, make sure it’s absolutely worth the cost.
I also have a whole section about modals and alternatives in Smart Interface Design Patterns, a friendly video course with useful design patterns for product designers and UX leads.
More Stuff I Like
More Stuff tagged user experience design , user interface design
MyHub.ai saves very few cookies onto your device: we need some to monitor site traffic using Google Analytics, while another protects you from a cross-site request forgeries. Nevertheless, you can disable the usage of cookies by changing the settings of your browser. By browsing our website without changing the browser settings, you grant us permission to store that information on your device. More details in our Privacy Policy.