Thanks @DMGregory :) All my Dialogues and popups do have the same structure
prnt.sc/rodzeh Only the Popup-Items should be able to execute actions on click... for example sending a request to the server etc... probably thats a good useage for a event handler which communicates directly with the server to trigger actions... than i could atleast get rid of all that boilercode