Fixed problems with some popups not opening