Fix nesting issue with task validation error alert.