tasks: added functionality of closing a popover when you click outside of it.