added styles and keystroke vlidation to survey model.