shadow dialog misplaced after opening with effect

shadow dialog misplaced after opening with effect


I open a dialog with a "blind" effect. Problem is that the shadow does
not refresh as the effect is being executed. It ends up staying at a
higher position than the dialog window.
It goes back where it belongs whenever the dialog is resized, but I
don't know how to make the dialog believe that it was just resized
after the dialog is opened.
I saw a _shadowRefresh function in ui.dialog.js, but I don't know how
to have access to it (assuming it does what is needed).
Normally, I would just use fading, but if I am not mistaken, this
effect is not supported.
Anyone has a solution for this shadow problem??