restore custom kill window behavior