rem: var cancelButton = document.getElementById("cancel"); 
add: var cancelButton = document.getElementById("insertCharsDlg").getButton("cancel"); 
context: function Startup(){  if (!InitEditorShell())    return;  StartupLatin();  doSetOKCancel(onOK, Cancel);  // Dialog is non-modal:  // Change "Ok" to "Insert, change "Cancel" to "Close"  var okButton = document.getElementById("ok");  if (okButton)    okButton.setAttribute("label", GetString("Insert"));  var cancelButton = document.getElementById("cancel");  if (cancelButton)    cancelButton.setAttribute("label", GetString("Close"));  // Set a variable on the opener window so we  //  can track ownership of close this window with it  window.opener.InsertCharWindow = window;  window.sizeToContent();  SetWindowLocation();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/71e1ffab7041d706ecdcfdbf01b42232fdf44f36/EdInsertChars.js/clean/editor/ui/dialogs/content/EdInsertChars.js