finished code for Site and Product editing. a milestone.