Detecting Close() On Viewbuilder Dialogs

I guess this was recently discussed here:

maybe this helps