Hi Samarth,
For better clarity to fix this issue, please find the below screenshot,
Your popup page will have the property named ‘Close Action’, By default it will be cancel changes. You can create an invisible(set class ‘hide’) action button in your popup page with close page action, and map that close page action button function to ‘Close action’ property.
Thanks!
If you click on the cross it will trigger the default functionality of a cancel button. A default cancel button does a rollback on the page object. So the cross will rollback the request object. The request object has not yet been commited so it will be deleted. You can add a close button and in de page properties you can set the close action to the close button. If I'm correct it will not rollback. If it does rollback you have to make a microflow that closes the page.