Bug report
Current behavior

When there is a tooltip inside a dialog, if the tooltip is opened without focus on the tooltip trigger and ESC is pressed, the tooltip's handleOpenChange does not fire. Instead, the dialog's handleOpenChange fires immediately, making escape stack control impossible.
Reproducible example
https://codesandbox.io/p/sandbox/4s92t5
Base UI version
v1.1.0
Which browser are you using?
Chrome
Which OS are you using?
Mac OS