Contacts: Close contact on click outside of it. Ref #522