added dependency to component/emitter, added event 'dissmissed' emitted when you click on 'Close'