Try to fix confirm leave
Remove a console.log