code: function _Overlay_sendEvent(eventName, detail) {
                      if (this._disposed) {
                          return;
                      }
                      var event = _Global.document.createEvent("CustomEvent");
                      event.initEvent(eventName, true, true, (detail || {}));
                      this._element.dispatchEvent(event);
                  }
docs: Send one of our events