Remove "X" to close chatcontainer window

I think the author of this thread would have been fine with the “X” button remaining, but instead of closing the window, clicking on that button minimized that tabbed window. After all, it’s really not convenient when you just accidentally close the window with all open tabs and then start restoring them again. And in the organization, many “hamsters” do this, and then say that they missed an important message not intentionally, but simply because they “accidentally” closed the window. Very, very useful functionality.
I already asked (here, here and here), who knows how, to recompile the library in the next topic, but …