get the select mode done