Added dialog box upon lose