Jump to Add Friend form when quitting groupchat

Fixes part of #579