add click handler for hiding the typewriter effect on ux-overlay click