added disable template button
fixed deleted selected node