Azoth: fixed "open new tab on message" behavior.

Open the tab only if it was really closed before that.