add purl and url parsing for the modal alert