Fix goto dialog (dialogs and wigets are untested)
Fix clean document