Hide the table widget after deleting the table.
Update table context on window resize.