Text this: A model of regulatory dynamics with threshold-type state-dependent delay