diff --git a/browser/components/prefwindow/content/pref-advanced.js b/browser/components/prefwindow/content/pref-advanced.js
index ca1e4b41701..af0e0e1cedb 100644
--- a/browser/components/prefwindow/content/pref-advanced.js
+++ b/browser/components/prefwindow/content/pref-advanced.js
@@ -36,7 +36,7 @@
#define PROVISIONAL_SECURITY_UI
var _elementIDs = ["moveSystemCaret", "hideTabBar",
- "loadInBackground", "useAutoScrolling",
+ "loadInBackground", "warnOnClose", "useAutoScrolling",
"useSmoothScrolling", "enableAutoImageResizing",
"useSSL2", "useSSL3", "useTLS1", "useTypeAheadFind",
"linksOnlyTypeAheadFind",
diff --git a/browser/components/prefwindow/content/pref-advanced.xul b/browser/components/prefwindow/content/pref-advanced.xul
index 8001d5d5e0d..cacfb7cc7fd 100644
--- a/browser/components/prefwindow/content/pref-advanced.xul
+++ b/browser/components/prefwindow/content/pref-advanced.xul
@@ -33,6 +33,8 @@
prefstring="browser.tabs.autoHide"/>
+
+