Fix "documents with errors" modal for Bootstrap 3

[finishes #70590736]