Should windows be sealed from the outside before the capping is done?
Yes.

You should silicone the flange top and sides (not the bottom), and use flashing as wide as practical for the top and sides as well.