Historic Bean Bake dinner taking place Thursday