add listener for UI Component