implement customized sharedlink dialog