 dom, parser, registry, Dialog){

			var thirdDlg;
			createDialog = function(){
				if(!thirdDlg){
					var pane = dom.byId('thirdDialog');
					// should specify a width on dialogs with <p> tags, otherwise they get too wide
					thirdDlg = new dijit.Dialog({
						id: "dialog3",
						title: "Programmatic Dialog Creation",
						style: {width: '300px'}
					},pane);
				}
				setTimeout(function(){ thirdDlg.show(); },"3000");
			};

			open2Dialogs = function (){
				registry.byId('dialog1').show();
				s