Selective sync:  remember the old list when accepting the dialog even if the tree was not expanded
selective sync:  fix whitelist matching