improve selectdialogs