{{-- Modal confirmation dialog built on the native element. Not : TallStackUI's modal points aria-labelledby at an id its title does not have, its close button has no name, and it neither moves focus into the dialog nor returns it (WCAG 2.4.3, 4.1.2). showModal() gives a real modal: focus moves in and is kept there, Escape closes it, and closing returns focus to the button that opened it. Open it from Livewire with $this->js("document.getElementById('').showModal()"). wire:ignore.self keeps the browser-set open attribute when Livewire re-renders the page; the content inside still updates. --}} @props([ 'id', 'title', ]) class('m-auto w-[calc(100%-2rem)] max-w-md rounded-xl bg-white p-6 text-zinc-900 shadow-xl backdrop:bg-black/50 dark:bg-zinc-800 dark:text-zinc-100') }} >

{{ $title }}

{{ $slot }}
{{ $actions }}