I didn't read through now, but this is the problem there is:
if somebody hits the button twice, then he gets transported to the thread. But as the user doesn't have permission to see the thread, he gets an error.
Besides: Would be great if there was the possibility to enter a message text or to even have to click "okay". I'm thinking about persons who simply click on it to see what happens