Popups added & Switching of layers