added client side validation to onboarding modal