Persist changes from the generic table dialog to the DB