Delete a buffer without closing the window