how do I catch the event of a view closing? I mean not the fact that it is closed already, but that it is about to close? thanks a lot in advance.