Got event editing functional.

Also generalized the form show/hide pattern.