setOpenModalElement(template = null) {
    this.componentModal.setOpenModalElement(template || this.getModalPreviewTemplate());
  }
Opens the modal element.
@param {string} template - The template to use for the modal dialog.