title: confirm modal using ngDialog
body: <p>I am using ngDialog in my application and I would like to create a generic confirm modal , which I can use whenever I need , the confirm message is going to be different .</p>
  
  <p>My questions :</p>
  
  <p>1- Is creating a directive with the ngDialog functionality a good idea and what is its design ?</p>
  
  <p>2- what is the difference between confirm() and openConfirm() in ngDialog code .</p>
  
  <p>Thanks in advance </p>