alert boxes appear when clicking on triangles now