When Ametys.shutdown is called while there is a dialogbox opened (or a mask ?) ; there is still an invisible mask over the whole screen : the user cannot click on restart