Add modal confimation when leaving a group

This PR adds a confirmation popup when leaving a group. refs #107