Ensure Event handlers are remove on disposal of SyntaxMode