IE8 open dialog focus problem

IE8 open dialog focus problem

I want to focus on $("#test") after dialog('open'), example HTML as:
  1. <div id="dialog">
  2.   <input type='text' id=''test"/>
  3. </div>
$("#test") can't get focus on my IE8.
I have tried firefox, opera, chrome, and all of them work well as expected.
But only on IE8, I need to add a extra hidden input to focus the first input...

  1. <div id="dialog">
  2.   <input type='text' id=''test"/>
  3.   <input type='hidden'/>
  4. </div>
Both 1.7.2 and 1.8rc1 have the same problem