fixed problem with image validation on edit screen.  Added unique confirmation code generation.