Pop-up staying even after count reaches 0