Move connectionTypeToString to ConnectionItem
Since that's the only place it's used. Will make refactoring PopupDialog easier as there's less stuff in it.
I'm planning to refactor PopupDialog
a bit and add a StackView
and the less code there is in PopupDialog.qml
the better