9fe1f9531f
on extjs 7.0, this triggers when the handler is not available anymore, so use the beforedestroy event instead Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>