events () {

    /*
     * Hide overlay when ESC is pressed
     */
    this.Helpers.on('keyup', document, this.onKeyup.bind(this), false);

    /**
     * Trigger main handler on click if hash is deactivated
     */
    let noHashElements = document.querySelectorAll('[data-cssmodal-nohash]');
    this.Helpers.on('click', noHashElements, (event) => this.mainHandler(event, true));

    // And close modal without hash
    this.Helpers.on('click', document.querySelectorAll('.css-modal_close'), (event) => {
      if (this.activeElement._noHash) {
        this.mainHandler(event, true);
      }
    });

    /*
     * Trigger main handler on load and hashchange
     */
    this.Helpers.on('hashchange', window, this.mainHandler.bind(this));
    this.Helpers.on('load', window, this.mainHandler.bind(this));

    /**
     * Prevent scrolling when modal is active
     * @return {void}
     */
    window.onscroll = window.onmousewheel = function () {
      if (document.documentElement.className.match(/has-overlay/)) {
        window.scrollTo(this._currentScrollPositionX, this._currentScrollPositionY);
      }
    };
  }
Listen to all relevant events
@return {void}