fix: use attribute presence check for data-react-aria-top-layer in MutationObserver (#9763)
* fix: use attribute presence check for data-react-aria-top-layer in MutationObserver
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add test
* remove unnecessary comment
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Robert Snow <snowystinger@gmail.com>