Kill the panel when X is killed