Added alert to callback for anchor click.