Created a new AlertDialog.