diff --git a/webui/src/components/settings/system/AutomationsSettings.tsx b/webui/src/components/settings/system/AutomationsSettings.tsx
index 7bb14584c..705302b39 100644
--- a/webui/src/components/settings/system/AutomationsSettings.tsx
+++ b/webui/src/components/settings/system/AutomationsSettings.tsx
@@ -553,7 +553,8 @@ function AutomationDetailPanel({
{actionKey === `${job.enabled ? "disable" : "enable"}:${job.id}` ? : null}
{job.enabled ? tx("settings.automations.pause", "Pause") : tx("settings.automations.resume", "Resume")}
-
+ {/* The detail dialog owns modality, including during the delete handoff. */}
+