Refactored
Check if id or name atrribute exists before try to update the attribute
After adding a row will remove the disabled attribute from all input types
Added triggers addrow and deleterow for table-dynamic