Dispose error provider, when form is disposed. Formatting improvements.
Event object is optional in handleClick handler.