Stackoverflow: use-jquery-to-hide-a-div-when-the-user-clicks-outside-of-it