Dialog fade effect doesn't work

Dialog fade effect doesn't work

Hi!

As i read in bugtracker and docs, the fade effect was added to the 1.8 and can be now used with dialog widget with show/hide options.
I reality we have: jQuery 1.4.2, jQuery UI 1.8rc3.
When we specify hide : 'fade' and click to close the dialog, the modal background disappears, but the dialog itself doesn't close, and obviously no fade effect.

Out code that calls dialog is:

jQuery.extend({

FizzerDialog : function(title,text,param) {

        param = param || {};
        if(title == '')            title = 'Fizzer social network';

        $.FizzerCheckDialog();

        var defaults = {
            bgiframe        : true,
            modal            : true,
            draggable        : false,
            resizable        : false,
            position        : 'center',
            dialogClass        : 'alert',
            closeOnEscape    : true,
            title            : title,
            width            : 350,
            height            : 'auto',
            minHeight        : '150',
            minWidth        : '200',
            maxHeight        : '700',
            maxWidth        : '900',
            buttons            :
                {
                    'Ok'    : function() { $('#'+$.fizzer_dialog).dialog('close').dialog('destroy'); }
                }
        };

        var options = $.extend    ( defaults,    param );

        // already open
        // don't draw. only show content and reconfiguring
        if( $('#'+$.fizzer_dialog).dialog('isOpen') != true ) {
            $('#'+$.fizzer_dialog).dialog('destroy').dialog(options);
        }
        $('#'+$.fizzer_dialog_msg).html(text);
        $('#'+$.fizzer_dialog).dialog('option',options);
    }
});