modified kill-buffer-original