TIMOB-16166-Detach the view from the existing parent before adding
Merge pull request #5292 from salachi/TIMOB-16166

TIMOB-16166-Detach the view from the existing parent before adding