Basic event hooks, ondelete, onselectrow, ontogglefolder