renderModalPreview(ctx) {
    return this.renderTemplate('modalPreview', ctx || {});
  }
Renders a modal preview template and returns the markup as a string
@param {object|null|undefined} ctx - The rendering context
@returns {string} - The modal preview markup