Modal with dynamic show shows for split second on page load before it hides

When you have a modal that should only show based on a data value loaded from the backend, it shows for split second before the server connect action runs to retrieve the data that would determine whether it hides or shows.

Is there a way to improve the user experience by preventing the modal show until data is confirmed?

I can post a video if what I am asking is not clear.

Community Page
Last updated: