Seamlessly add a text input to a matrix and checkbox