I'd go wsith Mickey on this one.
I would imagine that Cancel means cancelling any changes you've made, but keeps the program/file/document open, whereas Close will close the window. In the latter case I've no doubt you would have to Apply or OK your changes before you close the window with your changes saved.