Fix for improper parenting of message boxes when using XUL in PRD