Fixes #6693 - set parameters tab to error state and focus when validation fails