I understand that you want to close the Edge window in kiosk mode, but I'm afraid there's no way to just add a close button.
You can check if the "Public-Browsing experience - Runs a limited multi-tab version of Microsoft Edge" can meet your demands. You can config Kiosk mode Public browsing like below:
msedge.exe --kiosk www.contoso.com --edge-kiosk-type=public-browsing
You can also use some of the policies listed here to fully lockdown the kiosk mode public browsing experience: Kiosk mode supported features.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Regards,
Yu Zhou