Create a dialogue of three states using AlertDialog.Builder based.