tooltip and modal: add beforeAnimate events