Fixed where when the popup template was set when the event was clicked. now it does not blink