What was wrong with using .OnDeactivate like in the example I posted here...

http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=202548