Fix for parenting of message boxes from XUL dialog