Added exit from form when returning from email.

Unfortunately, it exits whether or not the email is succesful, or
canceled. Both return the same number, so I'm not sure how to deal with
that.