Sends reset msg upon lose before dialog box. Added win dialog