twitter/bootstrap — pull request #3961 by mjs7231 (2012-06-28 19:43:17+00:00)
Title: Adds better support for modals on modals

A few things I updated here:

* Keep track of open modals and order an array openModals.
* Only close the top modal on escape keyup (not all modals).
* Each modal's z-index will be incremented by 10 from the previous modal.
** Each backdrop's z-index is the modals index-1.