device selector, dialog to widget conversion