Added confirmation on leaving an unsaved table.