fix(popup): focus popup. Fixes #820