added some functionality to the first page with the popup helpers