Hello Prajakta Patil,
With a button and a micro/nanoflow it is possible to show a message first; and after close the screens with an extra button on the message, another maybe even easier way is the following choose a button and onclick action micro/nanoflow, create a nanoflow that close the page, enable the confirmation setting of
Hope this helps;
Good luck!
In microflow settings we have a option confirmation.
I am using nanoflow