Mutliple modals, double click closes two modals instead top.
When there are two nested modals, i.e. one modal is shown from another, double click on backdrop of the top modal results in closing of both modals instead only top.
Problem is reproduced even if double click is done when cursor is above first modal. As in the attached image from plunker, need to click in selected area.

http://plnkr.co/edit/Fidgh0aBW6LMi9nUaetg
@Advarius this is expected behavior because you have the modals configured to close when the backdrop is clicked. You can turn this off via the backdrop property.
This is not expected behavior, because as I mentioned, first modal will be closed even if double click is above selected area on the screenshot. In other words, first click is on the backdrop of the top modal, but second click is on the content of the first modal. Why modal is closed when I click it's content?
P.S.:
New screenshot with better example. If you click in the selected area, which is above the content of first modal, first modal will also be closed.
@advarius, ah, thank you for the better example. I'll flag for investigation.
Hello, i'm facing the same issue. Both modals are simply taken out of its stack and it happens twice as there happen two click actions on backdrop.
I didn't realize this, but this issue was corrected by #6104
Closing as fixed in master