PATCH: File upload causes the submit success event to not get fired