Fix message boxes not opening if they opened as a result of object activ...

...ation