working on modal template