use a dispatch click event to open url