Fixed bug where winner dialog appears twice