Please add a check for `this.options.closeButton` so that it doesn't throw an error if the user opened the popup without a close button.