diff --git a/tests/visual/dialog.html b/tests/visual/dialog.html
index cf8498ee1..12aa278ca 100644
--- a/tests/visual/dialog.html
+++ b/tests/visual/dialog.html
@@ -13,7 +13,7 @@
$(function() {
// Simple Dialog
$("#dialog button").click(function() {
- $("#dlg").clone().dialog();
+ $("#dlg").clone().removeAttr('id').dialog();
});
// Dialog with Buttons