function of popup in site style