Add connectivity between popups and Main Window