title: AlertDialog & SnackBar alerts
body: <p>Would it be possible to close an AlertDialog without having to click on/set a PositiveButton/NegativeButton?</p>
  
  <pre><code>        Delete.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              db.DeleteRecord(_id);
              db.close();
              Snackbar.make(textEntryView, "Removed", Snackbar.LENGTH_LONG).setDuration(700).show();
          }
      });
  </code></pre>
  
  <p>Using a custom button added to my layout I want to click on it and have it close the AlertDialog aswell.</p>
  
  <p>I have a total of 3 buttons currently</p>
  
  <ol>
  <li>Update Record</li>
  <li>Delete Record</li>
  <li>Done (This one is using alert.setPositiveButton)</li>
  </ol>
  
  <p>The other two I added in my layout so I could use Snackbar alert and I know I can do this by using setNeutralButton but it won't show a SnackBar alert.</p>