{title}
{#if typeof message === "string"}
{message}
{:else} {@const MessageComponent = message}
{/if}
{#each buttons as { text, action }, i}
{ action(); removeDialog(id); }} > {text}
{/each}