don't remove binding handler on setTemplate if it was not added