code: function(message, title, options){
              if(system.isString(this.MessageBox)){
                  return dialog.show(this.MessageBox, [
                      message,
                      title || MessageBox.defaultTitle,
                      options || MessageBox.defaultOptions
                  ]);
              }
  
              return dialog.show(new this.MessageBox(message, title, options));
          }
docs: Shows a message box.
  @method showMessage
  @param {string} message The message to display in the dialog.
  @param {string} [title] The title message.
  @param {string[]} [options] The options to provide to the user.
  @return {Promise} A promise that resolves when the message box is closed and returns the selected option.