When you pass by, they are clear doors and the inside of the dressing room is completely visible. When you step inside the dressing room, a motion detector triggers an electric current in the glass which renders it opaque. I wish I'd had the forethought to video the process for you (but I was a bit worn out from shopping with aforementioned teenager). Thankfully, I found a YouTube clip of just this phenomenon.
Have you seen this before?