diff --git a/views/default3.handlebars b/views/default3.handlebars
index b68924bcaf..f3c1db2245 100644
--- a/views/default3.handlebars
+++ b/views/default3.handlebars
@@ -9211,6 +9211,7 @@
}
function deviceActionFunctionEx() {
+ xxdialogMode = 0; // reset xxdialogMode back to 0
var op = Q('d2deviceop').value;
if (op == 100) {
// Device wake