rem: if (window.InsertCharWindow) return; 
add:  if ("InsertCharWindow" in window && window.InsertCharWindow) return; 
context: function EditorOnFocus(){  if (window.InsertCharWindow) return;  // Find window with an InsertCharsWindow and switch association to this one  var windowWithDialog = FindEditorWithInsertCharDialog();  if (windowWithDialog)  {    // Switch the dialog to current window    // this sets focus to dialog, so bring focus back to editor window    if (SwitchInsertCharToThisWindow(windowWithDialog))      window.focus();  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4dd49c277cf5bccb572042deb93e670d53587029/editor.js/clean/editor/ui/composer/content/editor.js