Adding EventDispatcher to container