[dialog addon] Add kludge for IE focus bug

Issue #2191