fixed modal card render bug when document description is defined, but not a string