Longtime Dedham Square resturant being replaced