finish popup dialog conversion for occurrence.jsp