Popup a confirm message when user tries to leave current chat page