Feedback Message Delayed

Hi! The feedback_message isn't appearing when I have a popup on top of a popup.

We discovered the issue with a contact form that pops up for data entry. The popup allows the user to enter new States and Countries to a drop-down menu via a second popup window. The menu management module provides a feedback message if the State or Country already exists. Only in the case of layered popups the message is not displayed until all popups are closed and the user navigates to another page. I have replicated the issue in a small application (attached).