How to show a session timout popup to user when session timeout is in Kubernetes

Hello, In my app, we have session timeout set in yaml in Kubernetes for 10 mins. I have a requirement to show a popup to user when session timesout explaining him/her that we are logging them out. How to achieve this in mendix thanks in advance  
1 answers

Use 'Microflow timer' widget to (Call a microflow, in that microflow show a pop)show a pop up 
before the session timeout