fixing popup box problem on Firefox by adding the event parameter to the functions that execute when the triggers, their content, or “everything else” is clicked and that seemed to fix the bug