fixing hiding reply button when closed for comments