Added popup window when lost or won
Merging