Moving welcome dialog code