I want to display a model warning message on the signup screen.
At the moment I have a modal warning message appearing “When a user visits the screen…” but when the modal is dismissed it immediately appears again. This goes in an infinite loop.

How can I show the modal warning message only once and then allow the user to continue with the signup process?
Could have a true/false property on user ‘Seen warning modal’
The link action happens sometimes > when logged in user > ‘seen warning modal’ = false
Then when they click ok on the modal, update ‘seen warning modal’ to true.
This won’t work as the action is happening on the user login screen. The user does not get a chance to login before the modal is displayed again.