trying to get the pop up to open when linked event is clicked