onCloseEnd = function onCloseEnd() {
          listen(target$$1, 'transitionend', onCloseEnd, false);

          _this2.shown = false;
          _this2.lock = false;

          _this2.target.downgradeSource();

          if (_this2.options.enableGrab) {
            toggleGrabListeners(document, _this2.handler, false);
          }

          _this2.target.restoreCloseStyle();
          _this2.overlay.remove();

          cb(target$$1);
        }
Close (zoom out) the Element currently opened.
@param  {Function} [cb=this.options.onClose] A callback function that will
be called when a target is closed and transition has ended. It will get
the target element as the argument.
@return {this}