fix for infinite event bubbling when using tooltips within modals