Added validation for add new row'