Clicking outside quickly now closes it.
Now using raw dom element contains for click outside condition.
Merge pull request #377 from dchang/feature/ui-tweaks

Clicking outside quickly now closes it.