-// Set empty mode to "select"
-if (!isGetRequestParameterSet('mode')) setGetRequestParameter('mode', 'select');
+// 'mode' is not set by default
+if (!isGetRequestElementSet('mode')) {
+ // Set empty mode to "select"
+ setGetRequestElement('mode', 'select');
+} // END - if