Fixes/double apply call

should fix the double apply call when showing or hiding tooltips and modals from a isolated scope