added click on item to edit & template