I do not think that a recurring dream could be the mark of a person having OCD. I mean, recurring dreams occur to people who are not OCD too. There are more logical explanations, I feel.
The dream that you described is probably due to the thoughts in your mind just before you go to sleep - Perhaps you are thinking/worrying about your OCD. Therefore, as you fall asleep, OCD would be on your immediate thoughts and subsequently more likely to appear in a dream.
The fact that the dream recurs is probably due to the fact that:
1) You have clear memory of the dream in your head and it is easily remember.
2) You repeat the same actions each night just before bedtime. Therefore, the events that lead to having the dream in the first place are repeated and thus, the dream is likely to happen again.