Create ui to add a new group and trigger an event

Fixes # 6

Handler for adding a new group on form submission. Makes no attempt to process
to see if the group is valid.

Other
- Also added ui for showing a waiting icon as the results are being waited on
from the data components.
- Adding loading icon html.
- Modified ui component so show and hide are separate functions that are
internally called.