remove the generated input element onDestroy