The `setTimeout` is necessary to actually get the error message into the element, I need to understand how all the pieces fit together better.