Allows user to click outside div to close