Fixed to closing popups