Closed the table rows that are created