[jQuery] close event on dialog ?

[jQuery] close event on dialog ?


Hi everyone,
I have ugraded JQuery to v1.3.2
But since i did that it looks like i've lost the close event on
dialogs
I've trying this :
$('#dialog').dialog({close : function(){alert("lorem");}});
but when i click on the 'X' of the dialog nothing happens...
Any idea where it could come from ?