in reply to How to override the standard module

While your approach is weird and likely bad, you will still need to copy these files to a directory localdirctorypath/Tk/Dialogbox/. Personally, I would at least use require to load the files or better, use one of the documented mechanisms to subclass the Wm and/or the DialogBox.