public boolean withdrawClaim(Claim c, String actionType) {
		boolean flag = false;
		Element claimE = (Element) document
				.selectSingleNode("//" + actionType + "[@id='" + c.getId() + "']");
		if (claimE != null) {
			claimE.element("dialogState").setText(c.getDialogState());
			System.out.println("withdraw" + c.getId());
			// Write to xml
			try {
				XmlUtils.write2Xml(fileName, document);
				flag = true;
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			
			// Copy to public dialog
			ClaimDao claimDao = new ClaimDao(publicFileName);
			if (claimDao.deleteClaim(c, actionType)) {
				flag = true;
			} else {
				flag = false;
			}
		}
		return flag;
	}