scide: Only trigger doc closed message if lang is compiled.

Signed-off-by: Scott Wilson <i@scottwilson.ca>