Linear viscoelastic response of the vertex model with internal and external dissipation: Normal modes analysis