I (try to) do this on all elevators. If it makes the chivalrous you uncomfortable, push your button first, then ask so you can push for others.
don't think this occurs to most guys, so: when you get into a hotel elevator with a strange woman, try to press your button first. and if you get off on the same floor, exit the elevator first.