try/catch around adding event listener to parent