added event example, toggling a checkmark with nice behaviors