add:  okButton.disabled = true; 
context: function onSelect(file) {  var path = file.unicodeLeafName;  if (path) {    if ((filePickerMode == nsIFilePicker.modeGetFolder) || file.isFile()) {      textInput.value = path;      doEnabling();    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/75b9627b7ec30e6895e39f6a4de18dfe17ea6750/filepicker.js/clean/xpfe/components/filepicker/res/content/filepicker.js