Submit button disables while loading images