Thank you for contacting us.
Since Test Studio directly interacts and verify the DOM tree this is expected behavior. If the element with text locator is present in the DOM this code won't fail.
What changes in the DOM when the box appears? Please monitor the DOM tree and let me know what is the change.
You can try with VeirifyIsVisible step for that message:
Hope to hear from you soon.