Added dynamic url for the popups