added "isNewForm" flag