How to get hint example to disappear on click