EditTableDialog: Some minor code clean up