changed selectdialog button