~August ElfooskijipMar 8, 2011, 1:53 PM16 PostsRe: Trap window closing in XPiNCTim, Many thank for the guidanceIf my XPage is not being modified in any way (it is purely a page for searching and viewing results in a view panel control), how can I trap the closing of the document/window? Mike