fixed jquery and jshint issues
fixed jshint issues
fixed dialog
added new partial validation