code: function performList(node,dialog,msg) {
    
    node.status({fill:'blue', shape:'dot', text:'requesting list of dialogs'});	    
  	dialog.getDialogs({}, function(err, dialogs){
      node.status({});
  	  if (err) {
          node.status({fill:'red', shape:'ring', text:'call to dialog service failed'});
          node.error(err, msg);		
        } else {
          msg.dialog = dialogs;
          msg.payload = 'Check msg.dialog for list of dialogs';
          node.send(msg);
        }		  
      });
    }
docs: This function performs the operation to fetch a list of all dialog templates