push windowIsClosing logic up from TodeClientList to TodeClientElement