[Dialog] Close event broken in 1.6 rc4 ?

[Dialog] Close event broken in 1.6 rc4 ?


Hi everyone.
After upgrading to 1.6 rc4 dialog's "close" event functionality seems
to seize working for me.
Here is a test code:
<div id="test">
        Test
    </div>
    <script type="text/javascript">
        $(function()
        {
            $("#test").dialog
            ({
                autoOpen: false,
                modal: true,
                overlay: { opacity: 0.5, background: "black" },
                close: function(e, ui)
                {
                    alert("close");
                }
            });
            $("#test").dialog("open");
        });
    </script>
When I close the dialog no alert message appearing.