Slamming trunk. Easy fix?

If you repair all the rusted out metal in any rear window area, seal that window with new gasket, etc and then there is water in the trunk after a wash or rain, then the trunk leaks right!!!? lol