From c99df794b9fce087ae0c94c95e42b65fd776dd9a Mon Sep 17 00:00:00 2001 From: madresebanoo Date: Mon, 21 Sep 2026 11:39:41 +0430 Subject: [PATCH] fix(modal): keep confirm dialog above other modals ConfirmModal mounts once at the app root, so its Teleport anchor in is created before page-level modals like TermDetailsModal. With an identical z-index, later-mounted modals ended up stacking on top of it, hiding the confirmation prompt (e.g. confirming the new remove-student-from-term action). Adds a configurable zIndex prop to BasicModal and gives ConfirmModal a higher value so it always shows on top regardless of mount order. --- src/components/BasicModal.vue | 4 ++-- src/components/ConfirmModal.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/BasicModal.vue b/src/components/BasicModal.vue index 6cf8989..76df1c8 100644 --- a/src/components/BasicModal.vue +++ b/src/components/BasicModal.vue @@ -1,7 +1,7 @@