add number of buffers and modification sign for each tab name