Refactored all dialogs to extend DnD.Dialog and refactored DnD.Dialog to handle loading external file for dialog HTML. Changed exit and rename functionality to window.confirm() and window.prompt() calls respectively for simplicity.