Add confirmation on leave team/tournament

Fixes #465