A beautiful, responsive, customisable, replacement for Javascript’s popup boxes.
https://limonte.github.io/sweetalert2/
Put the downloaded file in the assets folder and add this line to ‘header.library.ftl’:
<script src="assets/sweetalert2/sweetalert2.all.js"></script>