Cleaned up new invitation form logic.