Change so that form is submitted when image is dropped