This is one of a number of episodes that closely resembles, and perhaps inspired, episodes of The Andy Griffith Show, a spin-off series. This episode resembles season 7 episode Dinner At Eight. In that one, it's spaghetti instead of lasagna.
The charity referred to is a St. Jude's Hospital. In real life Danny Thomas was at that time in the process of building the St. Jude Children's Hospital in Memphis, Tennessee, dedicated to his patron saint, the Apostle Jude, whom Danny credited with helping him in his life and career.