fix a lot of popups opening at the same time