Phil Joanou was brought in to direct the dream sequences. He was given free rein to come up with whatever stories he could imagine.
This episode was shot and aired in 3D.
The scene in which Sally slaps Dick when he says that Sally is both his sister/daughter: this scene is a spoof of the scene in the 1974 movie "Chinatown", where Jack Nicholson slaps Faye Dunaway as she says these same lines.