My guess is that they were randomly selecting people for the magnetometer like they do at airports where the slow machines can't keep up and he was about to select you. Once you say you opt out you're stuck getting the hand pat-down but if you wait to see you might not have needed to.