This will reduce code complexity. See https://hypermedia.systems/more-htmx-patterns/#_adding_a_request_indicator for a description