fix: 🐛 Dismiss all dialogs if leaving viewer route #1242 (#1301)
fix: 🐛 Dismiss all dialogs if leaving viewer route #1242 (#1301)

* fix: 🐛 #1242

Dismiss all dialogs if route change

Closes: #1242

* CR Update: Dismiss dialogs in videwer

OHIF/Viewers,OHIF/Viewers,OHIF/Viewers