In order to use a dictation software to dictate in 4D Write, you need to open a specific dictation window.
Hit the keys SHIFT + CMD + "D" to open an empty window on top of your 4D Write window.
Dictate your text in this window and transfer the text into your 4D Write template using the "Overtake" button. The dictation window has been tested with Dragon Dictate and with the Mac OS X integrated Dictation feature.
Follow this link to find out more about Dragon Dictate: http://www.nuance.com/for-individuals/by-product/dragon-for-mac/software/index.htm
Follow this link to find out more about Mac OS X Dictation: https://support.apple.com/HT202584