added validation rules for modal views
merge