rem: this.dialogElement( "ok" ).disabled = !ok; 
add: this.mDialog.document.documentElement.getButton( "accept" ).disabled = !ok; 
context:     updateOKButton: function() {        var ok = false;        if ( this.dialogElement( "saveToDisk" ).selected )         {            // This is always OK.            ok = true;        }         else         {          // only enable the OK button if we have a default app to use or if           // the user chose an app....          if ((this.choseApp && this.chosenApp.path) || this.givenDefaultApp)            ok = true;        }                // Enable Ok button if ok to press.        this.dialogElement( "ok" ).disabled = !ok;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5f9095c9ce0b22166307d1eb8d981b8b51b0fcbb/nsHelperAppDlg.js/buggy/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js