We have the following situation

The grid is working on a collection, but the collection is handled in another region. Hence the grid is never marked as dirty.
The grid has a button which will 'send' the collection somewhere. We want to warn the user when they click the close tab and the collection has not been 'send' yet. In most cases the collection is destroyed after a send.
How can we capture the event when the user tries to close the tab from the "Test Close" page or alternatively is there a way to "dirty" the grid other then creating and deleting (for example) a "dummy" record.
