updated so all links except the all events has a popup