Water leak inside 65 barracuda

I took the dash out of my 65 it was leaking so bad. Once out you can see where the problems are. I thought wiper seals and such, but with everything out I could see the water was coming in around the edge of the windshield. I'm not to the point for paint so I didn't want to replace the gasket around the windshield. A friend from church who does windshields as a profession told me to use a sealant around the windshield till I'm ready to replace the windshield and gasket. I'm not driving mine, but hope this might help you.