improved exception dialog