There is a cshtml page, several div elements on it that should be shown as modal windows, jquery code of the standard dialog:
$("#add_edit-form").dialog({ autoOpen: false, resizable: false, modal: true, open:function(){{ $(this).parent().appendTo($("form:first")).css({ "z-index": "101" }); }} });
The problem is that when you click on any submit, all divs designed for these dialogues appear and disappear at the bottom of the page (albeit in plain text). This flickering is quite noticeable, maybe someone knows how to get rid of it?