pop up rendering on event click