Make sure we are sending UI element in the events callback