https://www.mediawiki.org/wiki/OOUI/Windows
An OO.ui window (like OO.ui.alert) will become fullscreen when viewed on a narrow display if a symbolic size (like medium/large/larger) is specified. This behavior cannot be changed. (or matmarex and I couldn't) When the symbolic size is omitted the window is a fixed 300px. If you need more but don't want the window to become full on narrow screens, you're out of luck.
At T312299 concerns were voiced over the edit notice (which is presented in an OO.ui.confirm/alert) becoming fullscreen on narrow displays, possibly confusing some users.
If this is indeed an issue (hard to judge for me as an experienced editor), it isn't limited to EditNoticesOnMobile. And I can see the argument for visually keeping it clear that the popup is, in fact, a popup.
So unless the symbolic size was specified as "full", an OO.ui window should probably be constrained to a window by default with possibly an exception if the user is editing on a Nokia 3310 or Ti-84 Plus.
Benefits:
Makes it clearer for users that they are dealing with a popup.