To avoid a soggy casserole, make sure to blanch the green beans until they are crisp-tender, and don't over-saturate the dish with sauce.