Listen for the right event.