modal javascript form errors work!