updated both popovers so that user is redirected to correct url