ui.dialog effects on callbacks

ui.dialog effects on callbacks


What is the suggested way of attaching an effect to a dialog upon open/
close? Since the 'close' callback is called after the overlay.hide()
call it is difficult to apply an effect to the window so it just
disappears.