add links in the dialog template