docs: protected void open(Element e, boolean fireEvent) {
          this.open = true;
          options.complete = () -> onNativeClose(true, true);
          options.ready = () -> onNativeOpen(fireEvent);
          $(e).openModal(options);
      }