Gen popup impl. #12

* Generic popup implementation: added popup contextprocessor