DAR-2414 removing old thread modal code
DAR-2414 moving part of old modal code into the comment