Hi and welcome to Knitting Help!
If it's the last 5sts on the left front and the first 5sts on the right front when you knit across the right side row, then yes, that's the button and buttonhole bands. If you read the pattern to the end you'll probably find directions for those sets of 5sts. For now, just leave them on the holders.
Can you link to the pattern or give us the pattern name?