[PAD-114] Fixing issue with embedded Swing dialog contents being parented inappropriately