Can't close app window

new version on MacBook Air M2 ventura 13.2.1 when the app window is open the the resize button top left to either move the app window or reduce it disappears . the only way to close the app is to hit the feedback button to go to web browser , but in essence it doesn’t close , but opens safari.