Displays an infobar and a warning dialog after a custom amount of time to inform users about their expiring session. You can add an event on timeout to handle user behaviour.