fixed up validation in NumberBox to work like DataTextBox