diff --git a/httpdocs/templates/modal_confirm_dialog.html b/httpdocs/templates/modal_confirm_dialog.html
index b8ecd5b283..5538d1e5b6 100644
--- a/httpdocs/templates/modal_confirm_dialog.html
+++ b/httpdocs/templates/modal_confirm_dialog.html
@@ -19,9 +19,9 @@
{*dialog.err_msg*}
{% if dialog.action ~= nil then %}
- {*dialog.confirm*}
+
{% else %}
- {*dialog.confirm*}
+
{% end %}
{% end %}