create modal template components