minor change in hiding popups