Popup redirects to the root page. Want to open in root as well, no redirect instead render