go ahead and take unfastened conclusion from the remaining 8-inch black wire and link it to the black wire to the dimmer swap, using a wire connector.
Make sure to align the polarity of the extension on the markings to https://flynnytwv888066.humor-blog.com/28210558/the-greatest-guide-to-under-cabinet-lighting