code: function() {
  			if (!this.$frame) {
  				return;
  			}
  			if(modalDialogManager.dialog === this) {
  				modalDialogManager.dialog = null;
  			}
  			lib.setFramesEnabled(true);
  			if (this._addedBackdrop && this._addedBackdrop.length > 0) {
  				this._addedBackdrop.forEach(function(node) { //$NON-NLS-0$
  					node.classList.remove("modalBackdrop"); //$NON-NLS-0$
  				});
  			}
  			this.$frameParent.removeEventListener("focus", this._modalListener, true); //$NON-NLS-0$
  			this.$frameParent.removeEventListener("click", this._modalListener, true); //$NON-NLS-0$
  			this.$frameParent.removeChild(this.$frame);
  			this.$frame = undefined;
  			this.$parent = undefined;
  		}
docs: /*
  Internal.  Cleanup and remove dom nodes.