add avatar file upload to dog edit page