added select box to dialog