refactor of event editor, event delete dialog, connection test