code: function() {
        var t = this;
  
        // Show the modal dialog
        t.dialog.centerBox().css({top:40}).modal('show');
  
        // Set the cursor when the dialog fades in
        setTimeout(function(){
          t.$('.nm-tsv-title').focus();
        }, 500);
      }
docs: Called when the dialog is opened