Fix bug: Event edit dialog shows nothing