angular-ui/bootstrap — pull request #931 by jmwolfe (2013-09-02 19:00:22+00:00)
Title: Added z-index setting on modal and backdrops

To support multiple modals with different sizes, added code in
directives to set the z-index of each div based on the modal stack
depth. Starts initial backdrop at 1040 (bootstrap's 'modal' class value)
and the modal itself at 1050. Subsequent modals are offset by 20 with
each additional modal.