Switching next button display when popup is on