Make the error dialog clear its stack trace when hidden, since it is
contextual.