popups and focus working now