fix issue with popups goint away