Set handlers for thread post buttons