added disable handler for controlling the handler calls while closing node editor