rem:  moveToAlertPosition(); 
add:  var windowElement = document.getElementById("findDialog"); if (!windowElement.hasAttribute("screenX") || !windowElement.hasAttribute("screenY")) { sizeToContent(); moveToAlertPosition(); } 
context: function initDialogObject(){  // Create dialog object and initialize.  dialog = new Object;  dialog.findKey         = document.getElementById("dialog.findKey");  dialog.caseSensitive   = document.getElementById("dialog.caseSensitive");  dialog.wrap            = document.getElementById("dialog.wrap");  dialog.searchBackwards = document.getElementById("dialog.searchBackwards");  dialog.find            = document.getElementById("ok");  dialog.bundle          = null;  // Move dialog to center  moveToAlertPosition();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/22179ab725b65f04e53ea369a32174677c978880/finddialog.js/clean/xpfe/components/find/resources/finddialog.js