{# Reported directly: "can we do delete buttons such as [...] jus
with a pop up and not with a page reload? and then relode on delete
to make the interaction more smooth?" — one shared, empty-by-default
modal container for every delete-confirmation dialog site-wide
(core/static/core/js/modal.js). A "Delete" link's own `hx-get` swaps
its confirm form in here instead of navigating there; `[&:not(:empty)]:flex`
means this needs no separate JS-driven open/close state — it's simply
visible whenever it has content, hidden otherwise. #}