Provides a link to a call-back function by which the user controls the action to
be taken just before a window is closed. If a grave is used (%`cc) then the
associated call-back function is called immediately after the window is closed.
You can use both %cc and %`cc in one window.
The call-back function should return zero to allow the closing to continue.
Other return values will halt the close down.