prevent default js event on modal trigger click, when trigger is an anchor