{#if actions.length === 0}
{/if} {#each actions as action}
{ dispatch('close') action.action(evt, ctx) }} > {#if action.icon}
{/if}
{/each}