+++ title = "Modal Dialogs in Bootstrap" template = "demo.html" +++ Many CSS toolkits include styles (and Javascript) for creating modal dialog boxes. This example shows how to use HTMX alongside original JavaScript provided by Bootstrap. We start with a button that triggers the dialog, along with a DIV at the bottom of your markup where the dialog will be loaded: ```html ``` This button uses a `GET` request to `/modal` when this button is clicked. The contents of this file will be added to the DOM underneath the `#modals-here` DIV. The server responds with a slightly modified version of Bootstrap's standard modal ```html ``` {{ demoenv() }}