added some functions to AdvertiserDialog