Adds active links in popups