Moved dialog box disable function to H5system.c.

Added the functionality to the tools init code.

Tested on local Windows.