Springboot-thymeleaf Pagination and Bootstrap Dynamic Modals