delete buffer without closing window