Buttons were originally a form of insignia, allowing easy identification of friend or foe.

If our attention is drawn to buttons in a dream, it is usually to bring about such recognition.