All I did when I had this issue was drive it up to Mazda and the guy fixed it for me! They just do the roll down the window and hold the button or something.. its not a big deal.. it even has it in the owners manual on how to fix it.
SSSSHHHHH!!!!! Its because I tried to follow the manual but I got all frusterated and decided to drive to the dealer and had them fix it since it was their fault it wasnt working!!!!!!...if it was in the owner's manual....can I ask why you went to a dealership?? Most issues can be resolved by looking in your owners manual..more people need to start using it.