FIX: Hitting enter while the invite dialog is up should submit the form, not refresh the
entire page :)