Close tip popup on click outside the tip box.

Credit: http://stackoverflow.com/a/7385673/2867073