creates validator for create session panel