Modal Popup (Divi)
A popup for Divi 5 built on the native <dialog> element: real focus trap, Escape to close, the top layer. Its content is any Divi modules, edited right on the canvas. Open it from a button, icon, image, text link, any CSS selector or a #link, or automatically on page load, exit intent, scroll depth, an element coming into view or inactivity — with frequency rules, twelve positions and twelve animations.
1. Triggers
Button → centred, zoom, a sign-up inside
Icon → slides in at the right
Image → bottom-right corner, non-blocking
2. From your own links and buttons
A text link to #offer opens the first popup. The Divi button below carries the class open-bar; a popup with no trigger of its own listens for it and slides a bar up from the bottom.
3. Automatic
Scroll past 60% of this page (or move the pointer out of the window on desktop) and a popup opens once per session. Text trigger as well, for testing.
(Space to scroll.)