syncTree working from both editor and delete dialog