Feeling driven to repeat an act in a dream mirrors an attempt to calm anxiety through ritual. It is read as the mind trying to tidy what feels out of control.
Where in your waking life have you met something like this lately?
My Cosmic Code has a private dream journal. Write a dream down and the app picks out the symbols in it, shows what dream books say about them and, over time, which words recur across your entries. The journal is stored on your device only.