Removed dialog from DOM on close
Merge branch 'hotfix/fix-remove-dialog-from-dom-on-close'