docs: function(fromMousedown) {
      var autofocus;
  
      if (dialogInTop) {
        dialogInTop.setIndex();
      }
  
      dialogInTop = this.setIndex(1);
  
      if (!fromMousedown) {
        autofocus = this.$('[autofocus]');
        autofocus.length ? autofocus.focus() : this.element.focus();
      }
  
      return this;
    }