docs: function () {
              if (!this.domElement) {
                  return;
              }
  
              if (this.conf.animateOut) {
                  this._startAnimation(this.conf.animateOut, {
                      from : this.domElement,
                      type : 1
                  }, true);
              } else {
                  this.domElement.style.cssText = "position:absolute;display:none;overflow:auto;";
              }
  
              if (this.modalMaskDomElement) {
  
                  // if there was was an animation defined we need to fade out the background for model popups
                  if (this.conf.animateIn) {
                      this._getMaskAnimator().start("fade reverse", {
                          from : this.modalMaskDomElement,
                          type : 1
                      });
                  } else {
                      this.modalMaskDomElement.style.cssText = "position:absolute;display:none";
                  }
  
                  if (this._containerOverflow != -1) {
                      this.popupContainer.changeContainerOverflow(this._containerOverflow);
                      this._containerOverflow = -1;
                  }
              }
          }