The TMJRock Modal is a highly configurable, animated popup engine. It features built-in backdrop blurring,
custom sizing, dynamic headers and footers, and a complete set of JavaScript lifecycle hooks—all configured
declaratively via HTML attributes.
Example 1: The Login Modal
A clean, centered modal with a custom size, header, footer, and form content.
When you click the close button, the beforeClosing hook will trigger a standard browser
confirmation dialog before allowing the modal to actually close.