combined new and edit photo form into one