Can a JavaScript modal dialog be modal only to the tab and not to the whole browser window?
javascript, modal-dialog
Solution
You could use one of the more 'Ajax-like' modal dialogs, which are just absolute positioned divs, floating on top of everything else.
Those are modal to the 'document' and not the browser.
For instance take a look it this jQuery plugin
P.S. `showModalDialog()` is an IE only call, so you might want to not use that altogether.
Problem
Modern browsers have multi-tab interface, but JavaScript function `window.showModalDialog()` creates a modal dialog that blocks all of the tabs. I'd like to know if there is a way to create a modal dialog that blocks only the tab it's been created in?