Interaction on custom code

Hi,
I’ve added the custom code to my project settings, created dummy button (btn-old) and added interaction button hide element on click (named it “hide windows”), then added “btn-old” to html-embed7 “close” button - but it still wont work :frowning:

have any idea what am I doing wrong?