rephrase: Detecting clicks outside an element the right way