code: function Dialog(options) {
    ui.Emitter.call(this);
    options = options || {};
    this.template = html;
    this.el = $(this.template);
    this.render(options);
    if (active && !active.hiding) active.hide();
    if (Dialog.effect) this.effect(Dialog.effect);
    active = this;
  }
docs: Initialize a new `Dialog`.
  
  Options:
  
  - `title` dialog title
  - `message` a message to display
  
  Emits:
  
  - `show` when visible
  - `hide` when hidden
  
  @param {Object} options
  @api public