Move all tof the dialogs to own classes