more client-side validation for note title