always close the pop-up when tab is re-loaded/opened