close popup after switcher close