Fixed an issue in find/replace dialog in windows