transitionComplete = function transitionComplete() {
        if (_this4._config.focus) {
          _this4._element.focus();
        }
        _this4._isTransitioning = false;
        $__default["default"](_this4._element).trigger(shownEvent);
      }
`document` has 2 events `EVENT_FOCUSIN` and `EVENT_CLICK_DATA_API`
Do not move `document` in `htmlElements` array
It will remove `EVENT_CLICK_DATA_API` event that should remain