}
//Method that defines that actual command and should return true if the transition
//it could be mapped into should take place.
public boolean execute(HTMLSessionVariable sessionVariable) throws Exception {
MainModel mainModel = (MainModel) sessionVariable.getApplicationModel();
if (sessionVariable.getActModel().isValid()) {
sessionVariable.getActState().finishDuplicatePopup();
mainModel.getPersonArray().sort();
return true;
}
return false;