@DiapDealer:
I thought you could add extra error handling, but it turns out that in qtdialogs.py you have to check for smap and css files first, and if they are not there (and the checkboxes are checked) the whole dialogbox returns default values, so the DOCX file also is "None".
Since the existence of smap and css files is not crucial to the operation of the plugin, you can probably just add messages directly in qtdialogs.py instead of "return".
The user will be better informed and the plugin will still work.
You don't need to change anything at tkdialogs.py.
Perhaps you will find a better solution.