except('wire:model')->class(["modal"]) }}
@if($id)
id="{{ $id }}"
@else
x-data="{open: @entangle($attributes->wire('model')).live }"
:class="{'modal-open !animate-none': open}"
:open="open"
@if(!$persistent)
@keydown.escape.window = "$wire.{{ $attributes->wire('model')->value() }} = false"
@endif
@endif
>
@if(!$persistent)
@endif
@if($title)
@endif
{{ $slot }}
@if(!$persistent)
@endif