Factorized modal template