NewGameDialog ok and cancel buttons close the panel

Authors: lhunker, ammesonb, dbtrue