display location drop-down list as a tree (#879)