Clean up new game dialogs

add game type to online game
refactor common handling of game type between new game dialogs