formatting fix. error message dialog response handling.