$confirmation !== null, (open) => { if (!open) resolveConfirmation(false); }} title={$confirmation?.title ?? 'Confirm action'}>

{$confirmation?.message}

{#snippet actions()} {/snippet}