Documentation

Smart Marketing Blocks Documentation

Product guidance, setup notes and block reference articles for Smart Marketing Blocks customers.

Modal CTA

Purpose

The block displays a CTA button that opens a modal dialog with a short message.

Content

  • Trigger: the open button text, edited directly in the block.
  • Title: the modal heading.
  • Text: the modal text.

Settings

The block has no separate sidebar settings. All current fields are edited directly in the block content.

Frontend Behavior

Clicking the button opens a dialog with role="dialog" and aria-modal="true". The close button receives focus. The dialog closes through the close button, backdrop click, or Escape key; after closing, focus returns to the previously focused element.

Availability

This is a Pro block. It appears in the editor only when Pro mode is active.