title: PartialView is for one second inside the jquery dialog
body: <p>The view is visible for a quick second in the dialog, then the dialog is gone and the view is visible again in the mainsite as if there would be javascript disabled.</p>
  
  <p>What do I wrong? I just want to show the Create view in the dialog which is calling the Create action in the controller.</p>
  
  <p>Index view:</p>
  
  <pre><code>@{
      Layout = null;   
   }
  
   &lt;script type="text/javascript"&gt;
  
      $(function () {
          $('#dialog').dialog({
              autoOpen: false,
              width: 300,
              resizable: false,
              title: 'Create Template',
              modal: true,
              open: function(event, ui) {               
                  $(this).load("@Url.Action("Create")");
              },
              buttons: {
                  "Close": function () {
                      $(this).dialog("close");
                  }
              }
          });
  
          $('#CreateTemplate').click(function ()
          {
              $('#dialog').dialog('open');
          });
      });
  
  &lt;div id="dialog" title="Create Template" style="overflow: hidden;"&gt;&lt;/div&gt;
  &lt;div id="MenuBarDiv"&gt;   
      &lt;a id="CreateTemplate" href="..\Template\Create"&gt;Create Template&lt;/a&gt;
  &lt;/div&gt;
  &lt;div id="LeftDiv"&gt;
      Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
      teimata sanctus est Lorem
      ipsum dolor sit amet.
  &lt;/div&gt;
  &lt;div id="RightDiv"&gt;
      Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
      tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero
      eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea
  
  &lt;/div&gt;
  &lt;div class="clear"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Controller:  </p>
  
  <pre><code>  [HttpGet]
      public ActionResult Create()
      {
        return View("Create");
      }
  </code></pre>