In BrE, we sometimes use 'should' with no real difference in meaning. In the following sequence, the possibility of the smile is (perhaps) slightly less likely as we proceed through the series:
... if the cashier flashes me a smile.
... if the cashier should flash me a smile.
... if the cashier should happen to flash me a smile.
Student or Learner