add onclick handler to text node.

onclick handler calls top.notify with 'text'.