I believe the answer to this is that you decide what you want to do in your dream before you go to sleep. If you do exactly what you planned, you were controlling your dream. If you were dreaming you controlled your dream, but you dreamt about what you wanted to, does it matter?