Fixed focus being ignored. Added truthy evaluation for popup content node. Fixes #560. Fixes #562
Merge pull request #565 from davidovich/Fix_issues_#560_and_#562

Fixed focus being ignored. Added truthy evaluation for popup content node.