lingers says:
("form:first")
It is called first selector. It selects the first matched form element.
For more details refer below link.
https://api.jquery.com/first-selector/
When jquery dialog is opening, set the label value to empty.
function ShowPopup1() {
$('#label7').html('');
$("#dialog1").dialog({
title: "EDIT DIE DETAILS",
width: 830,
height: 500,
buttons: {
Close: function () {
$(this).dialog('close');
}
},
modal: true
});
};