bgiframe problem when expanding ui:dialog in ie6

bgiframe problem when expanding ui:dialog in ie6

Hello All,
I am trying the below example for the jquery ui:dialog in ie6

http://jqueryui.com/demos/dialog/#modal

But when i try to expand the dialog window, the mouse cursor just looses focus and its really very hard to even expand the dialog window by one px.

I also tried to use the code in my local machine as :
  1. <script type="text/javascript" src="../../jquery-1.4.2.js"></script>
        <script type="text/javascript" src="../external/jquery.bgiframe-2.1.1.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.draggable.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.resizable.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.dialog.js"></script>









  2. function OpenMe2(){
    alert("hello");
    var $dialog = $('<div></div>')
                    .load("modal.html")
                    .dialog({
                        modal: true,
                        bgiframe:true,
                        autoOpen: false,
                        title: "test",
                        width: 900
                       
                    });

                $dialog.dialog('open');
                  return false;
    }














  3. <button type="button" onClick='OpenMe2();'>Click Me!</button>


Any ideas why this is happening, how can i fix this