Don't close scratch buffer while in the buffer