'Foundation' code saved for popup windows