winning popup displaying correctly