refactored ajax dialogs on dojo/index to contain their own widths