MouseEnter still fires when window shows a MsgBox

When I open a MsgBox or MessageDialog on top of a window, the controls in that window still fire MouseEnter events. Is this the correct behavior? I’m using Cocoa.