Add option to delete/close buffer