add tree view selection mode