trying to fix IE issues with dialog