{#if $page.state.modal} {#key $page.state.modal}
{/key}
{/if}