code: function () {
              _this15.el.style.display = 'none';
              _this15.$overlay.remove();
  
              // Call onCloseEnd callback
              if (typeof _this15.options.onCloseEnd === 'function') {
                _this15.options.onCloseEnd.call(_this15, _this15.el);
              }
            }
docs: Handle modal ready callback