Prevent accidental submits

Prevents form submission (using return key, mostly) if no invites are
listed.
Disable "submit" while user uses search