added template to work on photo modal