Dialog tests: Work around focus issue in IE8.