There are a couple of issues with the message box on UiPath.System.Activities 22.4.5.
It’s working fine if downgrade the package to 22.4.4.
Issue 1. AutomaticallyCloseAfter no longer works on this release. It doesn’t close automatically.
Issue 2. The message box appears later than the sequence expected to come after.