Mass Loaded Vinyl (MLV) is a flexible and efficient soundproofing material for windows, produced from PVC and vinyl having a heavy material like barium sulphate or calcium carbonate. An easy approach to seal these gaps would be to fill them with an acoustic caulk, which include Inexperienced Glue Acoustical Caulk. https://soundproofwindow03951.blogoxo.com/39059016/acoustic-secondary-glazing-for-dummies