getting the links on the popup