For what do I need to assign an element name in Wordpress Actions For Panel?

I am just starting to get familiar with PG Theme Converter. In some videos of PTC an element name is assigned. If I look at the file in the source folder, I find the name in div in this form. "data-pg-name=“name”>. If I add a Wordpress action to the element, the name disappears from the source file. Could someone explain to me what happens here and where the element name goes? I would like to understand how PTC works.

Step 1 Give a Element name:

Step 2 Give the Element a Wordpress Action: