Update to prevent the API from presenting error modals on top of each other