{#each buttons as button}
{ await button.action(); closeFunc(); }} > {button.text}
{/each}