disable submit button while image is loading and other goodies