dispatch('close')} on:keydown={(event) => (event.key === 'Escape' || event.key === 'Enter') && dispatch('close')} >