popup: fix gemini tests to use proper api (closes #973)

removed setting modifier `_visible` in bemjson + some optimizations

//cc @gela-d @lapinlapin