UI Dialog odd behaviour

UI Dialog odd behaviour

 Hello,

I've come across a strange issue while using the UI Dialog plugin:

I use the following setup:

   
  1.  $(function(){
                var opts = {
                    buttons: {"ok":ok},
                     resizable: true,
                     title: "<a href='#' title='Some title'>A title!</a>",
                     modal: true,




  2.                  show: true,
                     hide: true                       
                };
                $("#myDialog").dialog(opts);


  3. });
  4. ...and ok function somewhere here...
When I load the page with Firefox I see a white box with no content on it.
When I take out the "show" and "hide" init params everything renders fine and the
ok button also works.
I put the animation options back on and I get the white box again.

Any ideas?
I'm using FF 3.5.7 on an Ubuntu machine (Karmic Koala).


thanks,
savvas.