- added extra dialog to select role of device (fate#317140)

The following changes in different files smells like "cleanup the code" cause it quite duplicate. But not yet please :-)