[Luis] fix dropdown to only close if the user clicks outside