removed destroyed event handler, fixed defocus when opening nodes - close #920