Changed event-panel into a modal window.