Formatting of document popup fixed.