{#if $shownModal} shownModal.set(undefined)} bind:open > {#if $shownModal.snippet} {@render $shownModal.snippet()} {/if} {#if $shownModal.body}

{$shownModal.body}

{/if} {#if $shownModal.actions}
{#each $shownModal.actions as action (action)} {/each}
{/if}
{/if}