don't forget to send a close reply
otherwise the portal daemon may hang on waiting for a reply/timeout and prevent further portals from opening. this for example occurs with OBS screenshare dialogs (admittedly I'm not quite sure why specifically there though)