Set up framework to add popup windows