Don't allow commenting while the thread is closed

When someone close thread there is still option to add
comment which cause error when submitted. User shouldn't
be able to comment while the thread is closed.

TNL-150