Close on click outside. Fixes #9