Welcome.

Yeah it's best to wake up after a dream, usually if you wake up mid-dream you will have les chance of remembering it.

As Mes suggested, try to use self suggestion by repeating to yourself that you will wake up after each dream period. Then try to sit there/lie for a short while remembering what you dreamt about.