Adds functionality that disables error dialog boxes on Windows. Potential (partial) fix for HDFFV-8851.