fixed templating, closing of modals, conditional of the range display, and fetch