Sentence:  Thank god for schools and stranger danger, Rebecca thought with a sigh, but still, it'd been <WSD>too close for comfort</WSD>. Maybe it had just been someone looking for directions, but if that were the case, why take off when an adult came along? 
Meaning of the word marked with <WSD> tags:  Frightening because of almost resulting in injury or disaster.