Ever clicked a button, only to be slapped with a popup that hijacks your screen? Yeah, we’ve all been there.
Modals are one of the most overused and misunderstood UI elements in design. Done right, they help users focus on key actions. Done wrong, they interrupt, frustrate, and send users straight to the “close tab” button.
Some designers treat modals like a necessary evil. Others banish them entirely. But the truth? Well, at Eleken we use them often as a part of SaaS products’ interfaces and we believe modals aren’t the problem — bad modal UX design is.
In this guide, we’ll break down:
- When to use modals (and when not to)
- The biggest UX mistakes designers make
- Best practices for creating actually useful modals
- Alternatives that might work even better
And all of that with plenty of real-world examples of popular products and from our own experience. By the end, you’ll know exactly when and how to use modals to improve, not wreck, your UX.
What is a modal in UX?
A modal is a type of UI window that appears on top of a page and demands user interaction before they can return to the main content. Think of it as a digital stop sign — it grabs attention and forces a decision.

But here’s where things get messy. The term "modal" is often misused. Many designers lump popups, alerts, and overlays into the same category. In reality, there are three main types of dialogs:
- Modal dialogs – Block all interactions outside the window until the user takes action. Example: A "Delete account" confirmation.

- Modeless dialogs – Stay open but let users interact with other parts of the interface. Example: A floating chat window.

- Semi-modal dialogs – Can be dismissed by clicking outside, but don’t fully block the background. Example: A dropdown menu or tooltip.

This distinction matters because misusing a modal where a modeless or semi-modal dialog would work better leads to unnecessary frustration. If a user doesn’t need to pause everything to complete a task, forcing them into a modal might not be the right move.
Oh, and one more thing that may interest you while reading this article: modal vs dialog.
Modal blocks interaction with the background until dismissed and is used for important actions like confirmations, form inputs, or critical alerts.
A dialog is a broader term that includes both modal and non-modal interactions. It can be modal (blocking) or non-modal (allowing interaction with the background).
So, all modals are dialogs, but not all dialogs are modals.
Up next, we’ll explore when modals actually improve UX — and when they just get in the way.
The anatomy of a good modal
Not all modals are created equal. Some feel seamless, guiding users effortlessly. Others feel like roadblocks, making people scramble for the close button. So, what separates a good modal from an annoying one?
1. A clear, focused purpose
A modal should exist for a reason, not just because it's convenient for the product team. Before using one, ask:
- Does this require immediate user attention?
- Would this work better as an inline element or a separate page?
- Is the modal’s purpose obvious at a glance?
If the answer to any of these is unclear, reconsider using a modal in the first place.
2. A concise message
Modals should be short and to the point. Users shouldn’t have to read a paragraph just to understand what’s happening. Compare these two:

- Mediocre: “Your profile helps you discover new people and opportunities” – a long title that requires more effort to process.
- Better: “Complete your profile. This helps build trust between guests and hosts” – clear and short main title, more details in the subtitle.
Less text. More clarity.
3. Strong, action-driven buttons
Modal buttons should tell users exactly what will happen when clicked. Avoid vague options like:
- OK
- Yes / No
Instead, go for action-based labels:
- Delete file
- Save changes / Discard changes
This removes guesswork and speeds up decision-making.
For example, take a look at a modal window by Webflow.

It’s “Let’s do this” CTA button doesn’t tell the user exactly what they’re going to do and requires careful reading of all the other information on the window.
Instead, a modal dialog by Hotjar is very clear about what is going to happen after you click the button because it contains the word “delete.”

4. Easy ways to dismiss
Nothing is worse than feeling trapped in a modal. Users should always have an easy way to exit. Best practices include:
- A clear close button (not hidden in a corner)
- Allowing Escape key to dismiss the modal
- Clicking outside the modal to close (unless the action is critical)
For example, below is a modal by Dovetail that allows users to transcribe audio. But what if they decided not to complete this action? There’s no clear close button.

On the contrary, below is a screen from Duolingo. Though it doesn’t provide a common cross button in the top right corner (as the action is critical), it has a CTA with a clear message “No, don’t cancel”.

5. Mobile-friendly design
A modal that works on desktop might fail on mobile. Small screens require:
- Larger tap targets (buttons should be easy to click)
- A full-screen modal approach if necessary
- No scroll traps (users should be able to close the modal without frustration)
For example, here’s how we designed modal windows for desktop vs mobile for a property maintenance startup.

When modal design checks all these boxes, it enhances the user experience rather than disrupting it. In the next section, we’ll break down when to use modals — and when to avoid them entirely.
When to use modals (and when to avoid them)
Modals can be powerful, but only when used in the right context. The problem? They’re often misused, overused, or thrown in just because they “look good.” So, when do modals actually improve UX, and when do they just get in the way?
When modals work well
A well-placed modal can guide users through important actions without taking them away from their current flow. Good use cases include:
- Critical confirmations – Actions that have serious consequences, like deleting an account or making a payment. Users need a moment to think before committing.

- Focused tasks – When users need to complete a self-contained action, like adding a shipping address or updating payment details.

- Step-by-step processes – A multi-step flow, like one of onboarding patterns or a product walkthrough, where each step requires user input before moving on.

- Legal or security warnings – When users must acknowledge terms, cookie policies, or security alerts before proceeding. (But be careful — many alerts work better as simple notifications instead of full modals.)

In these cases, modals help rather than hinder because they provide clear, focused interaction points.
When modals should be avoided
Sometimes, designers default to modals when a better alternative exists. Here are situations where modal design might do more harm than good:
- Interrupting users mid-task – Imagine filling out a form and getting hit with a modal asking if you want to subscribe to a newsletter. Disruptive and frustrating.
- Displaying non-essential information – If the content doesn’t require immediate attention (like a tooltip or minor notification), a modal is overkill.
- Nested modals (stacking modals inside modals) – This forces users to remember multiple layers of context, increasing cognitive load.
- Content that should be inline – Forms, dropdowns, and expandable sections often work better directly on the page rather than inside a modal.
Alternatives to modals
If a modal isn’t the best option, what should you use instead? Consider:
- Inline expansion – Showing additional content within the current screen instead of launching a modal.
- Slide-in panels or drawers – Good for non-blocking interactions like settings menus or chat windows.
- Toast notifications – Best for non-critical alerts that don’t require user input.
- Dedicated pages – If a task is complex (like filling out a multi-field form), a full page is often better than cramming it into a modal.

Next, we’ll dive into one of the most controversial topics in UX: modal stacking. Is it really as bad as everyone says?
The debate: Is modal stacking really bad UX?
If there’s one thing that gets designers fired up, it’s stacked modals — one modal popping up on top of another, forcing users into a layered interaction. Some call it a usability nightmare. Others argue it’s overblown criticism. So, is stacking modals really that bad?

Why designers say modal stacking is bad
The main arguments against stacking modals come down to usability and psychological aspects of design like cognitive load:
- Users lose context. When a second modal appears, people have to remember what they were doing in the first one.
- Navigation becomes confusing. Should users close the top modal? What happens to the one underneath? Things get messy fast.
- Accessibility suffers. Screen readers struggle with multiple modals, and keyboard users may find it difficult to navigate between layers.
- Users feel trapped. Too many blocking interactions create frustration, making users more likely to abandon the task altogether.
For many, the best practice is simple: one modal at a time, no exceptions.
But what if stacked modals actually work?
Not everyone agrees that modal stacking is a disaster. Some designers and researchers argue that stacked modals can be intuitive when executed well.
Take multi-step processes in SaaS apps. Suppose a user is editing a template in a modal, and they suddenly decide to discard all changes before saving. Of course, we have to ensure this action is not accidental and the user understands what they are about to do. So, a second window appears and asks for confirmation, then smoothly returns them to the original task.
That’s the case we had when creating UI/UX design for SaaS strategy reporting tool ClearPoint Strategy. And that’s where we used modal stacking.

In this case, modal stacking can:
- Prevent unnecessary page reloads or redirects. Keeping users in context can be more efficient than taking them to a separate page.
- Mirror real-world workflows. Just like how nested tasks happen in real life, modals can support logical step-by-step interactions.
- Be a non-issue for some users. Usability tests (as discussed in UX forums) suggest that not all users struggle with stacked modals. Some even find them helpful.
So, what’s the right answer?
Like most UX decisions, it depends on execution. If you must stack modals:
- Keep it to two layers max. More than that, and users will struggle to track where they are.
- Ensure clear hierarchy. The second modal should feel like a natural extension of the first, not an interruption.
- Allow easy navigation back and forth. Users should be able to dismiss the top modal without losing their progress in the first one.
- Test with real users. Don’t assume modal stacking is bad — prove it with data.
Modal stacking isn’t inherently bad UX. It’s badly designed modal stacking that causes problems. In the next section, we’ll cover common mistakes designers make with modals UX and how to fix them.
Common modal UX design mistakes
Even being the right choice, modals with bad UX are a cause of user frustration. Here are some of the most common mistakes designers make and how to fix them.
1. Using modals for everything
Some designers treat modals as a go-to solution for any interaction: login forms, tooltips, onboarding steps — you name it. There’s even a dedicated website that highlights this problem. But not everything needs a modal.

The fix: Use modals only when necessary — for actions that require user focus or confirmation. If the information can be displayed inline or as a non-blocking element (we’ve already covered modal alternatives earlier in this article), do that instead.
2. Disrupting the user’s task with unnecessary modals
Some modals block users in the middle of an important action for something unrelated — like a survey prompt appearing while they’re filling out a form.

The fix: Keep modals contextual. If the user is already engaged in a task, don’t break their flow. Instead:
- Defer non-essential modals to a less disruptive moment
- Use inline alternatives where possible (like embedding a survey link instead of forcing a popup)
3. Too many fields/info in a single modal
A modal should make completing a task easier, but cramming too many input fields into one space makes it overwhelming. Users either abandon the process or struggle through it.

The fix: Keep modals short and focused. If the user needs to enter a lot of information:
- Break the task into multiple steps
- Use progress indicators to show how far along they are
- Consider whether a dedicated page would work better
4. Blocking important content
Sometimes, a modal appears and completely covers what the user was interacting with. If they need to reference that information, they’re out of luck.

The fix: Make sure the modal doesn't block contextually relevant information. If users need to compare details, consider:
- Using a slide-in panel instead of a full-screen modal
- Keeping a semi-transparent overlay to provide some visibility
5. Forgetting about accessibility
A visually appealing modal means nothing if it’s inaccessible to users with disabilities. Common accessibility issues include:
- Screen readers failing to recognize modal content
- Keyboard navigation not working properly
- Poor contrast making text unreadable
The fix: Ensure every modal is designed for accessibility by:
- Setting keyboard focus inside the modal when it opens
- Allowing users to navigate and close it via keyboard
- Using ARIA labels to help screen readers understand modal content

Bad modals frustrate users and create unnecessary friction. But when designed well, they can streamline interactions and improve the user experience. Now, let’s go over best practices for designing effective modals that users actually like.
Best practices for designing effective modals
Bad modals interrupt, frustrate, and make users want to leave. Good modals feel seamless, helping users complete tasks without friction. The difference? Thoughtful design. Here’s how to get it right.
1. Only use modals when necessary
Modals should serve a clear purpose. Before adding one, ask:
- Does this action require full user attention?
- Would an inline element, tooltip, or slide-in panel work just as well?
- Is the modal solving a real problem, or just adding steps?
If the answer isn’t obvious, a modal might not be the best choice.
One of our projects — Process Enablement Platform – an app for enterprise workflow automation — presented a perfect use case for modals. The platform needed an intuitive way to guide users through complex process documentation without overwhelming them with long, static pages filled with screenshots. Instead of forcing users to scroll through multiple images across different sections, we introduced a Smart Screenshots functionality.
Now, instead of navigating through five static screenshots spread across three pages, users can simply click once, and a modal opens up, walking them through all the relevant fields step by step. This keeps the interface clean while ensuring that users get the guidance they need without disrupting their workflow.

This is where modals shine — when they enhance clarity and streamline interactions rather than adding friction.
2. Keep the content brief and scannable
People don’t read modals. They skim. If your modal looks like an essay, expect users to close it before finishing.
- Write in short sentences — every word should serve a purpose.
- Use bullet points for clarity when listing options.
- Prioritize key actions — the most important information should be instantly visible.
For example, take a look at a dialog modal for creating a new order, we designed for SaaS software for trade contractors.

- Information is structured into separate blocks, making it easy to scan.
- Text follows a clear visual hierarchy, with high-contrast titles and subtle subtitles for additional context.
- "Required" labels provide instant clarity on which fields must be completed.
- The primary CTA stands out, using clear, action-driven language to indicate exactly what will happen next.
By keeping text minimal, well-organized, and visually structured, this modal helps users complete their task quickly and confidently—without unnecessary friction.
3. Design buttons that stand out
A strong call-to-action (CTA) isn’t just about wording, it’s about visual clarity. The primary action button should be:
- Larger and more prominent than secondary options.
- High-contrast against the background for better visibility.
- Positioned consistently (usually bottom-right for Western audiences).
- Don’t use more than two action buttons
Secondary actions, like "Cancel" or "Go back," should be less visually dominant but still clear. Avoid making them too small or hiding them in plain text.
Let’s take a look at two versions of modals:

This modal presents three competing CTAs, making it unclear what the primary action is. “Accept This Offer” is bold and prominent, but the additional “Go Back” and “Decline Offer” buttons dilute the decision-making process. Users may hesitate, unsure of what each option leads to.

This modal keeps it simple, with a single dominant CTA (“See plans”) that clearly directs users toward the intended action. A secondary button (“Chat with us”) offers an alternative without overpowering the main choice. The result? A more focused and frictionless user experience.
When designing modal buttons, clarity is everything — give users one clear path forward, not a decision overload.
4. Align modal design with the rest of the UI
A modal in UI shouldn’t feel like a completely separate element — it should blend seamlessly with the product’s overall design system. Some key considerations:
- Match typography and spacing with the main interface.
- Use familiar colors and button styles to maintain consistency.
- Ensure animations feel natural — modals should appear smoothly, not jump onto the screen.
- Create dark overlay to make the modal more prominent
When modals feel visually disconnected from the rest of the UI, users may hesitate or feel disoriented.
Here’s a modal designed for a healthcare company and their product Insights by HeathStream.

HealthStream had brand guidelines in place, but many of their products lacked a consistent design system. This gave our designers the freedom to refine the visuals to better fit the app’s interface. While we maintained the brand’s fonts and color palette, we focused on ensuring the modal UI felt like a natural extension of the product’s UI — seamlessly integrating with the surrounding dashboard.
This approach helps create a cohesive experience, where modals feel like part of the workflow rather than an interruption.
5. Optimize for mobile users
What works on a desktop may fail on mobile. Simply shrinking a desktop modal to fit a smaller screen won’t work. To make modals mobile-friendly:
- Ensuring tap targets are large enough to prevent frustration.
- Avoid scroll traps — users should be able to navigate the modal effortlessly.
- Use full-screen modals when necessary to fit small screens.
We’ve already mentioned one of our projects, Jobcall, a property maintenance platform for which we designed both desktop and mobile versions. While our previous modal example from this project demonstrated a smoothly adapted UX modal with a well-placed button, there was also a case where we couldn’t simply mirror the desktop design for mobile. The modal required users to input a significant amount of information, and squeezing everything into a smaller screen would have made the experience frustrating.
To keep it both functional and user-friendly, we opted for a full-screen modal instead. This allowed us to maintain consistency with the desktop version while ensuring that buttons were easy to tap and users didn’t have to scroll sideways to see all the content.

6. Test with real users
What seems obvious to designers may not be intuitive for actual users. Testing helps catch:
- Unclear wording
- Confusing navigation
- Frustrating interactions
Run usability tests to see how people interact with your modals. If users hesitate or struggle, refine the design.
Conclusion & key takeaways on modal UX
Modals are a powerful UX tool but only when used with intention. When done right, they help users focus on key tasks without unnecessary distractions. When done wrong, they frustrate, interrupt, and drive people away.
Here’s what to remember:
- Use modals only when necessary. If a task can be handled inline, on a dedicated page, or with a non-blocking element, reconsider using a modal.
- Keep content short and actionable. Users don’t read long blocks of text — make every word count.
- Make actions clear. Buttons should be visually distinct and guide users toward the next step.
- Ensure a smooth, accessible experience. Modals should be easy to navigate, close, and interact with — on both desktop and mobile.
- Test with real users. No matter how well-designed a modal seems, usability testing will reveal friction points that need fixing.
Modals aren’t the enemy — bad modals are. With thoughtful design, they can be a seamless part of the user experience rather than an obstacle. At Eleken, we specialize in SaaS product design that prioritizes usability, clarity, and conversion. If you're building a product and want to ensure your UX is seamless, let’s talk.