Avoid showing the error with undetachable containers and add page's title as the title of the detached window (thank chaz for the idea)