connect gui "create event" with controller