rem: fp.init(window, "Save As", nsIFilePicker.modeSave); 
add: fp.init(window, "Open", nsIFilePicker.modeOpen); 
context: function launchFilePicker(){   // No show the 'Save As' dialog and ask for a filename to save to   const nsIFilePicker = Components.interfaces.nsIFilePicker;   var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);   // caller can force disable of sand box, even if ON globally   fp.init(window, "Save As", nsIFilePicker.modeSave);   var ServerName = document.getElementById( "server-name-textbox" ).value;   if( ServerName == "" )      fp.defaultString = "MozillaCalendarFile.ics";   else      fp.defaultString = "MozillaCalendar"+ServerName+".ics";      fp.defaultExtension = "ics";   const filterCalendar    = "Calendar Files";   const extensionCalendar = ".ics";   fp.appendFilter( filterCalendar, "*" + extensionCalendar );      fp.show();   if (fp.file && fp.file.path.length > 0)   {      document.getElementById( "server-path-textbox" ).value = fp.file.path;      gCalendarObject.path = fp.file.path;   }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/75bef53af57a70dd7e0b79600a048c42076743ba/calendarServerDialog.js/clean/calendar/resources/content/calendarServerDialog.js