Added a dialog box to check that a user truly wants to leave a group