FIXED: do not show diagram on text selection
CLEANED-UP: removed some console.log cals