Applications each open individually, and they know that they get focused when activated/launched whatever. But effectively firefox may (or may NOT!) actually encapsulate 2-3 different applications... spreadsheets, email, or say, the bookmarks that I use to maintain Slashdot's submissions bin.
I'm not exactly sure how to deal with this. I imagine this problem will only grow if good web applications continue to replace desktop applications."