Added error checking on create event page.