diff --git a/packages/ui/src/components/Popup.svelte b/packages/ui/src/components/Popup.svelte
index e145ec0dff..3ed5f968e6 100644
--- a/packages/ui/src/components/Popup.svelte
+++ b/packages/ui/src/components/Popup.svelte
@@ -30,7 +30,7 @@
-{#each $modal as popup}
-
+{#each $modal as popup, i}
+
{/each}