add command to close buffer but not window