angular-ui/bootstrap — pull request #347 by mxparajuli (2013-04-23 14:42:17+00:00)
Title: fix(dialog): Close dialog on location change.

Fix for Issue #335 as demonstrated in http://plnkr.co/MhYssd1GiOx1d1YwOyf0.
Demo of the fix http://plnkr.co/knE57NBIdv0hE53h78Lb