diff --git a/components/dialog-ng/dialog-ng.js b/components/dialog-ng/dialog-ng.js
index <HASH>..<HASH> 100644
--- a/components/dialog-ng/dialog-ng.js
+++ b/components/dialog-ng/dialog-ng.js
@@ -187,7 +187,7 @@ class DialogController {
 
     Reflect.deleteProperty(this, 'DIALOG_NAMESPACE');
 
-    if (shortcuts.getScope().pop() === this.dialogService.DIALOG_NAMESPACE) {
+    if (shortcuts.getScope().indexOf(this.dialogService.DIALOG_NAMESPACE) > -1) {
       shortcuts.setScope(this.currentShortcutsScope);
     }
   }
RG-<I> re-implement


Former-commit-id: fc<I>f<I>a<I>a<I>bfc8ada0b4ce<I>f7e<I>e