Added closing dialog with winner announcment.
Program is terminated after dialog closure.