Dialog onClose callback

This fix adds the possibility to call a callback everytime the Dialog widget is closed.
I think there is no need to check whether the listener has been defined. If it isn't the `evalCallback` method should not complain.