dismiss listener expanded and renamed to event listener. Closes #9