$("#dialog1").parent().appendTo($("form:first"));
what does ("form:first") mean,We only have one form,why use the word first
Secondly how do i set the label7 visibility to false on modal popup page load, that is label7.visible false.
because after updating and you close the modal popup. Once you open the modal pop up again you will still see the previous message on the label for the last update carried out.