Added button to click out of rerouting popover