updates ImageUploadBehavior to only go through upload routine if a file was uploaded