leader d to close a buffer