<div id="modal">
    <div class="modal-underlay" hx-get="/empty" hx-target="#modal" hx-swap="outerHTML"></div>
    <div class="modal-content">
        <h1>Modal Dialog</h1>
        This is the modal content.
        You can put anything here, like text, or a form, or an image.
        <br>
        <br>
        <button hx-get="/empty" hx-target="#modal" hx-swap="outerHTML">Close</button>
    </div>
</div>