Fixed logic for showing the popups