Kent Sayre suggests in his book Unstoppable Confidence to copy others' gestures to gain rapport and when they start copying your gestures you've done it...
He said it in better words, that book helped me quite a bit. Don't quite know what to make of your interaction, it could have been too obvious.