Mobile Firefox and Designing Without Modal Overlays
In the concept video I recently did for laying out the interface paradigms for Firefox Mobile, I listed five guiding principals.
- Touch it with your finger
- Large targets are good
- Visual Momentum and Physics are compelling
- Typing is difficult
- Content is king
It’s these principals that inform the design of new features long after the original design as been coded, released, and iterated on. In discussions with the perspicacious Mike Beltzner, another design principal emerged.
6. Use modal overlays sparingly, if at all.
To be sure we are on the same page—I’m may be partaking in the dangerous hobby of coining new terminology—an overlay is simply a content area that sits in front of the content beneath it. The aspect that makes a modal overlay modal is that when it is up, the content “beneath” the overlay cannot be acted upon until the overlay is dismissed. Although a modal overlay may be visually transparent, it is never interaction transparent: you must always take action, like clicking “okay”, before continuing with your workflow. While I’m living dangerously, I’ll toss one more phrase into the mix: a state-forgetting modal overlay is an overlay whose state is reset every time it is summoned. That is, any work you do in the overlay is lost when you dismiss it.
Some examples of modal overlays are dialog/monologue boxes, ever-so-Web-2.0 Lightboxes, and the bookmarks interface for Mobile Safari. Some examples of overlays that aren’t modal are transparent messages and the OS X’s on-screen display for volume. The former have a number of interaction pitfalls that the latter do not share.
What’s wrong with modal overlays? In a word, they are modal: You are either interacting with the content or the overlay. Modal overlays don’t allow you to refer back and forth between two sources of information, or move fluidly between two actions. The second problem with modal overlays are that they are disconnected and disjoint from other overlays—knowing how to access one doesn’t yield a physical sense of how to access another one; they do not scale to give a unified, cohesive interface.
Let’s take a look at a plausible interface to illustrate the point; an implementation of search-and-replace using a Lightbox.

At first glance, this seems like a friendly, Web 2.0 way of doing things: it affords the opportunity for large typography and an uncluttered screen. While using a Lightbox is Web 2.0, it isn’t necessarily friendly. In fact, it has a fairly clunky workflow, for anything but the most basic case. Imagine you want to replace all instances of the text “insightfully thought” with “perspicaciously reckoned”, both of which exist in the text, although separated by a couple pages. You copy the first term, summon the Lightbox-based modal overlay, and paste it into the “replace” field. The next logical step is to scroll through the content to find “perspicaciously reckoned”, copy it, and put it into the “with” field. Unfortunately, because the search-and-replace form is in a modal overlay, you first have to dismiss the overlay before interacting with your content, then call it up again when you are done. It’s a slow, unwieldy feedback loop. On top of that, there isn’t a great way to indicate the changes in the text without somehow hiding the overlay.
Let’s take another example, this time from the real-world. At Humanized, we wrote a review of Mint.com’s thoughtful interface. One of the thing’s I liked about Mint’s interface—that I called “stunning”—was the unafraid use of text to create a huge, easily scanned list of possible categories that enabled filing a particular expense quickly. The problem, which I didn’t talk about then, was that they used a Lightbox. It feels heavy and slow at a visceral level. For example, when you are categorizing the expense type of a purchase, Lightbox’s modal nature keeps your from examining surrounding expenses that might help you to contextualize and categorize the purchase in question. Further, because it is a state-forgetting overlay, anything you enter into the create-your-own-category input is lost as soon as you consult another expense. Not good.
Lightboxes are tempting to use as a turn-key solution—we unfortunately use them in Songza—but there are better solutions, which I’ll come to in the next section.
Let’s go closer to home for the next example. Bookmarking. Firefox UX designer Madhava Enros did excellent work on many of the early UI prototypes for Firefox Mobile. In Proposal 8, which experimented with Songza-esque pie menus, you can see a lot of the thinking that directly informed the current design of the location bar. It also used a modal, state-forgetting overlay for bookmarking. This meant that you couldn’t both be bookmarking a page and interacting with the page at the same time—and worse, if you started to delve into your hierarchy of bookmark folders to file the page away, and wanted to refer back to the page before saving the bookmark, you’d have to start all over again.
Solutions
Now that we’ve explored the problems with modal overlays, it’s time to look at solutions. In particular, on the solution meant to replace modal overlays that might require complex interactions—which means that transparent messages don’t cut it. I’ll talk about two solutions in this post, but I am sure that there are other solutions out there. I’d love to hear ideas in the comments.
The Tray
The first solution is arrived at by simply not having an overlay be modal, with a bit of animation for polish. The overlay appears as a tray anchored to the edge of the content area. The tray must not force interaction, meaning that the tray can be ignored, and the content perused as if the tray didn’t exist. The only down side to not interacting with/dismissing a tray is that it eats up some screen real estate.
In the browsing world, Firefox uses the tray method to defeat the annoying-as-a-blackberry-pip-stuck-in-your-molars dialog box that asked if you wanted to save your password (and worse, it asked before you knew if you had typed it right!).

Because a tray overlay isn’t modal, you can answer the question in your own time. The tray is a great way to make user-dependent decision asynchronous. In fact, almost all user-dependent questions that are in situ with your browsing experience are done via the tray-style prompts. Take, for example, the prospective geolocation prompt. Coincidentally, the conviction of never using a modal overlay/dialog box in Firefox meant changing the W3C geolocation specification. Ironically, if you drag a tray is extended to take up the entire screen it becomes a modal overlay again. Further examples of trays in action can be found in Algorithm Ink’s browsing and editing functions.

As a final example, there is extensive use of tray-style interaction in Adobe Lightroom, generally docked on the left and right side of the screen. It’s a well-placed implementation, allowing quick access to a range of manipulations that don’t get in the way of moving around the image.

The Slide
The second solution isn’t an overlay at all, instead it uses scrolling or sliding. By placing the new area next to the original content it’s easy to understand how to move between the two areas. It’s also easy to extend the metaphor across numerous additions — new features get a new physical location. This is the technique demonstrated in the concept video, where the browser controls are located to the left of the web page content.

Using sliding as an overlay substitute mechanism (when we aren’t using slow-to-use scrollbars) is a fast way of moving between content in a non-modal way that also takes advantage of visual momentum and spatial memory.
Let’s take a look at how the slide mechanism can extend the browsing controls for Fennec. Here’s a schematic view of accessing the add-on manager and preferences:

Notice that once we’ve introduce the slide, we’ve opened up the possibility for a scalable way to expand ad infinitum. It’s a good way of coping with the limited screen size of mobile.
End Game
I’ve only started to think about solutions to the modal overlay problem. The tray and the slide are two passable solutions—I’m sure there are even better solutions waiting to be discovered. Quasimodal overlays, for instance. Let me know if you find/think of any.
RT @aza Mobile Firefox and Designing Without Modal Overlays | Follow @aza on Twitter | All blog posts
Zephyr
Excellent post. The modality of a lightbox message has been bugging me as well. But I’m surprised that you didn’t discuss the old-fashioned popup window as a possible alternative. It’s not ideal, but if implemented well (popup blocker safe) doesn’t it at least allow interacting with the page that spawned it?
choonkeat
I have a non-modal alternative to thickbox (basically push surrounding content rather than covering them) @ http://blog.choonkeat.com/weblog/2008/05/lightbox-thickb.html
I seriously think there’s no place for modal interaction in this medium (web). Information can always be presented in familiar ways on a webpage without sacrificing interaction options.
Marco Gomes
I build a product called boo-box, that is a modal overlay that displays contextual offers:
http://boo-box.com/site/en/box
One of the new versions of the product, still in beta, is a tray:
http://marcogomes.com/blog/2008/webriga-brasil-o-grande-dragao-branco-aplicado-a-web/ (click on ‘Python’ on the first paragraph)
Is good to know that my product is following the evolution of the web interfaces, this new version will be released to the public soon :)
Havvy
Your slide looks similar to the All-in-one-Sidebar extension, if you want another example of a slide.
Jan
I like modal overlays – or think that often there are no better ways at least. With this Firefox “Do you want to save this password” tray I’m every time confused what will happen if I don’t care about the tray. Will it save the password? Or not? How long will the tray stay?
Non-modal solutions provoke to think about my next action (having both ways available) – and this slows down the worklow.
Adam
Totally disagree Jan a modal dialogue for password still offers and requires both options so I have to think about my next action the only difference is I have to decide right now.
In terms of firefox if you don’t care about the tray surely the virtually universally recognised cross is understood to remove it?
Braydon Fuller
The tray seems like the best alternative for more time consuming interactions. A quasimode key for shorter quick actions.
noé
I disagree a little.
If the content is all about vidéo or speech (it’s a phone), it would not be “beautifull” if the vidéo go out the screen when you want to bookmark or go the the next track.
So the button should go over, and next the slide.
About the bar with the search formular : when i’m reading the first thing I need is the context of the text (number of previous reader, number of comments, and vote, authors, date). Not search.
Where are the breadcrumb ? and navigation ?
asdfasdf
afdadfasdfdsfsdaf
Ryan
Sorry to give an antagonistic view of this article, but I personally feel that modal overlays are the best option out there, especially for photos, videos and external content. Generally the person is intending to only view the content inside the overlay, and nothing else, at that particular time. When I see trays and slides I get really annoyed because I have to move my mouse across the screen to close them, but with most modal overlays I just have to click somewhere outside the window to have it go away, which often requires less moving.
Frisco Apartments
An excellent designing tool you shared. I did even know this tool. Thanks
Muhammad Ghazali
Wow, you got interesting topic on this blog post. It’s nice to know the good solutions, specifically about the usage of scrolling or sliding. Great post! Thank you.
Zayıflama Lida Fx15 Ve Biber Hapı Zlfvbh
Excellent post. The modality of a lightbox message has been bugging me as well. But I’m surprised that you didn’t discuss the old-fashioned popup window as a possible alternative. It’s not ideal, but if implemented well (popup blocker safe) doesn’t it at least allow interacting with the page that spawned it?
porno
Excellent post. The modality of a lightbox message has been bugging me as well. But I’m surprised that you didn’t discuss the old-fashioned popup window as a possible alternative. It’s not ideal, but if implemented well (popup blocker safe) doesn’t it at least allow interacting with the page that spawned it?
Sex
Excellent post. The modality of a lightbox message has been bugging me as well. But I’m surprised that you didn’t discuss the old-fashioned popup window as a possible alternative. It’s not ideal, but if implemented well (popup blocker safe) doesn’t it at least allow interacting with the page that spawned it?
porno sikiş
Thanks for mentioning this. It seems so obvious while reading but I can imagine it is easy to slip in to old habits without these friendly reminders..
بنت الكويت
goooooooooooooooooooooooood
porno
harikakaliteli videolar
basur
In terms of firefox if you don’t care about the tray surely the virtually universally recognised cross is understood to remove it?
billy
excellent place to buy and sell apps online , great stuff. http://www.downloadmobile.com.au/
شات كتابي
thnks
goooooooooooood
min:)
Fajar Deni
Hi friend,
Thank you for some description that you given in your article
bugulmeses
Неплохой сайтик!!!
wholesale beads
Welcome to china wholesale beads store with free shipping
diyason
Such a behavior style, usually in the suppression of emotions like love that leads to great happiness, ” said Understanding The Tin Man (Tin Man of the Understanding), William July, author of the book, adding: “He was accustomed to show more emotion, mental and sexual tendencies. ”
sumomax
دردشة
goooooooooooood you
شات
China wholesale beads store, free shipping, and very good post really
Kayla Block
I’ve been trying and trying to explain to my company why our usage of modal overlays is unfriendly to our customers and not made much progress. This is very well stated. Thank you!
Lilliana Baxter
I really like and appreciate your article post.Thanks Again. Really Cool.
شات صوتي
thnks
goooooooooooood
min:)ااا
JohnBush
http://old-generator.ru Hot Celebrity Girls
website design in cape town
I’m amazed, I have to admit. Rarely do I encounter a blog that’s both educative and engaging, and let me tell you, you have hit the nail on the head.
The issue is something which not enough people are speaking intelligently about.
I’m very happy I found this during my hunt for something concerning this.
Brigitte
Wow! At last I got a blog from where I can actually get useful information concerning my study and knowledge.
Ladiesfairwaywoods.com
Hi there would you mind sharing which blog platform you’re using? I’m looking to start my own blog soon but I’m having a difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m looking for something completely
unique. P.S Apologies for being off-topic but I had to ask!
Susanna
Hello there, I found your site by way of Google
even as searching for a similar topic, your site came
up, it seems to be good. I’ve bookmarked it in my google bookmarks.
Hello there, simply changed into alert to your weblog via Google, and located that it is truly informative. I’m going to be careful for brussels.
I will be grateful should you proceed this in future.
A lot of people shall be benefited from your writing.
Cheers!
Madison
Hi there! I know this is kind of off topic but I was wondering
which blog platform are you using for this website?
I’m getting tired of WordPress because I’ve had issues
with hackers and I’m looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform.
shades sunglasses
Whenever high-end custom made bags tend to be your lifestyle, find out more about Yves St Laurent gold hobo. This unique hobo seriously isn’t your frequent laid-back hobo. It’s always oozing along with fantastic magnificence and class. This amazing brown purse certainly will add in form to the dreary ensemble. Any brown shade is finished within a fashionable solution plus it certainly not nice at all. It’s this unique confident complicated feel for it that I like. Them any bag i always would undoubtedly imagine all of the 4 Kardashian siblings would need initially eyesight. Yet, like most terrific get in style, all the Yves St . Laurent metal hobo doesn’t necessarily appear low-priced and you will have to end up being happy to shell out $1795 to get it.
Chet Baumkirchner
This article is really helpful. I am able to override author’, email’ and url’ default settings, but I am not able to override comment_field’, it is getting duplicated, i.e. the default textarea is also appearing with my custom comment textarea. Any help would be appreciated.
Adriene
The National Oceanic and Atmospheric Administration of the US government has announced only last September,
the global average for the period January to August 2010 is 580F (14.
It is predicted that “global warming” will increase
water shortages in the near future. See how much of this change is attributed to greenhouse gases,
albedo (i.
Http://Www.Swiftys-Fishing-Tackle.Co.Uk/Catalog/Index.Php/CPath/19_21_3_249
Hi there! This is my 1st comment here so I just wanted to give a quick shout out
and tell you I genuinely enjoy reading your articles.
Can you suggest any other blogs/websites/forums that cover the same topics?
Many thanks!
Browning Big Fish Pole
Howdy! I know this is somewhat off topic but I was wondering if you knew where I could find a captcha plugin for my comment form?
I’m using the same blog platform as yours and I’m having trouble finding one?
Thanks a lot!
Filme porno xxx
With havin so much content do you ever run into any issues of plagorism or copyright violation?
My blog has a lot of unique content I’ve either written myself or outsourced but it appears a lot of it is popping it up all over the web without my authorization. Do you know any solutions to help prevent content from being ripped off? I’d truly appreciate it.
free muvise
Amazing blog! Is your theme custom made or did
you download it from somewhere? A theme like yours with a few simple tweeks would really make
my blog shine. Please let me know where you got your theme.
Many thanks