Clear the selection if the table has been modified, and reinstall the trigger
Smarter update of TableEditor on table change