changed dynamic submit logic to use partialSubmit="true"