adds a footer and finishes content on program page