{#if visible}
e.key === 'Enter' && handleBackdropClick(e as unknown as MouseEvent)} role="dialog" aria-modal="true" tabindex="-1" use:focusTrap >
e.stopPropagation()} onkeydown={(e) => e.stopPropagation()} > {#if showHeader}
{#if icon} {@render icon()} {/if} {#if title} {title} {/if}
{/if}
{@render children()}
{#if footer}
{@render footer()}
{/if}
{/if}