{% comment %} Modal Base Component ==================== A flexible, accessible modal dialog component with Alpine.js integration. Purpose: Provides a base modal structure with backdrop, header, body, and footer sections. Includes keyboard navigation (ESC to close), focus trapping, and proper ARIA attributes for accessibility. Usage Examples: Basic modal: {% include 'components/modals/modal_base.html' with modal_id='my-modal' title='Modal Title' %} {% block modal_body %}
Modal content here
{% endblock %} {% endinclude %} Modal with footer:Are you sure?
{% endblock %} {% block modal_footer %} {% endblock %} {% endinclude %}