Built framework for popup