Do not submit images instantly if there is no-auto-submit class on the file input