anchor.diff:  				if(r == true) {
   					<portlet:namespace/>submitItemForm();
   				} else {
  -					Liferay.Util.getOpener().<portlet:namespace/>closePopup('<portlet:namespace/>dialog');
  +					closeDialog('<portlet:namespace/>updateJobPos', '<%=WebKeys.USER_MGT_PORTLET%>_');
   				}
   				
   			});
  
positive.code: 		var btnChooseCancel = A.one('#<portlet:namespace />cancel');
  		if(btnChooseCancel) {
  			btnChooseCancel.on('click', function() {
  				Liferay.Util.getOpener().<portlet:namespace/>closePopup('<portlet:namespace/>dialog');
  			});
  		}
  		
  
negative.code: 
  <%@page import="org.opencps.util.WebKeys"%>
  <%
  /**
   * OpenCPS is the open source Core Public Services software
  