This has nothing to do with ARM processors. Show us some code - compilable code -... Then you will get more reasonable answers.
Remove the close, because ShowMessage is not modal. That goes for every platform btw.
... because ShowMessage is not modal. That goes for every platform btw.
Which isn't the case on Linux/gtk2..
You should create a feature request at https://gitlab.com/groups/freepascal.org/lazarus/-/issues