Attach panel only if it has no parent yet