Fix for improper parenting of message boxes using XUL in PRD