Hello, how to create pop ups in plugins and communicate with them

Hello, I would like to ask, my plugin is in the sidebar. Clicking the sidebar button will open a pop-up window, and the sidebar needs to communicate with the pop-up window. How do I handle this

Hello @shuang_jiao_ban_mian

Can you share more information on your final goal? From what I see pop-up window simply mirrors the same buttons as on the left panel. It is not quite clear in which way you would like to make them communicate.