code: function(obj){
              var theDialog = this.getDialog(obj);
              if(theDialog){
                  var rest = Array.prototype.slice.call(arguments, 1);
                  theDialog.close.apply(theDialog, rest);
              }
          }
docs: Closes the dialog associated with the specified object.
  @method close
  @param {object} obj The object whose dialog should be closed.
  @param {object} results* The results to return back to the dialog caller after closing.