Event support on CDT window object
[CDT] object id check on closing