jquery/jquery-ui — pull request #752 by neagle (2012-10-15 20:26:17+00:00)
Title: Dialog: removed z-index manipulation and added .ui-front logic.

This is a basic implementation of the logic described by Scott Gonzalez
in this gist:

https://gist.github.com/3893326

This should get pulled (if at all, of course!) into a new dialog branch, since the approach needs further evaluation.

--
.ui-front
NEED EXAMPLES OF WHAT IS CURRENTLY BROKEN
datepicker with z-index: 10000 & $( document ).tooltip()
http://bugs.jqueryui.com/ticket/8655
http://bugs.jqueryui.com/ticket/7884
z-indexy elements will have class .ui-front
.ui-front applies z-index: 100
.ui-front element are always positioned by some other class (so that
z-index applies)
z-indexy elements will have an appendTo option
default null, which means walk up DOM from associated element
looking for .ui-front element
e.g., autocomplete would walk up DOM from text field to find
which element to append the menu to
if no .ui-front element is found, append to body
dialog stacking?