dismiss = function(e) {
  var target = e.target;
  if (!this.container.contains(target) && (this.opened || util.hasClass(this.container, "notice"))) {
    this.close();
  }
}
Dismiss / close the dropdown
@param  {obj} e
@return {void}