Updated isModified buffer to reflect variable MAX_NUM_TABS