Text this: Nowhere dense sets and real-valued functions with closed graphs