The new function
capi:interface-document-modified-p
gets and sets the document-modified flag in a
capi:interface
. Currently this only has a visible effect on Cocoa, where an interface whose document is modified is flagged by adding a dark dot in the middle of its Close button (the red button at top-left of the window).
LispWorks Release Notes and Installation Guide - 23 Dec 2011