NXP-13737: don't submit the whole form when cancelling