Should be able to use ui in events selector