Added delete functionality to the table.