{#if isOpen}
{#snippet promptSnippet()}
{/snippet}
{/if}