basic popup and url opening