She had developed a friendship with the University of Chicago philosopher John Dewey , and Dewey 's pragmatism opened her to the idea that conflict was a fact of social life , even a sign of progress , not some deviation from an idealistic yearning for harmony .