Feature/mob 2585 no connection dialog

Casting is unnecessary