add multi-entity select mode support