Cancel on edit team page does not redirect to team page

Fixes #441