fixed the dialog
switched to custom dialog. win/true/draw logic fixed. and bunch of other minor things.
-