fix update popup showing up when navigating through pages