A clever and highly useful trick to creating a modal with just one html element.