The whole spices used in garam masala are roasted before grinding and hence it is not required to cook them again. Adding in the end also allows you to add per taste. If you are serving the dish to young children, you can reserve some food prior to adding extra garam masala.