use popup and messaging instead of background