attempted to add validation but, does not seem to work inside modal dialog