Form closing after attaching picture.