What do circles in dock right-click menu mean?
Those are buffers which have unsaved changes. I don't use BBEdit, but that is how SublimeText and Word do it. It's probably an attribute which OSX reads and uses automatically. Another signal for this state is a white dot inside the red close dot of the window.