Delete layer immediately after clicked trash can.