Add event listeners cookbook entry