nfig="async: true, has: { 'dojo-bidi': true }"></script>

	<script type="text/javascript">
		require([
			"doh/runner",
			"dojo/query",
			"dijit/Dialog",
			"dojo/domReady!"
		], function(doh, query, Dialog){
			toggleTextDir = function(){
				dlg.set("textDir", (dlg.get("textDir") !== "rtl") ? "rtl" : "ltr");
			};
			doh.register("tests._BidiSupport.form.DialogBidi", [
				{
					name: "Bidi Dialog test",
					runTest: function(){
						var d = new doh.Deferred();
						dlg = new Dialog({
							textDir