Fix button groups in dynamic tables

When adding a new row that contains a button group, the 'disabled' class
must be removed from the generated 'a' links.