Permalink modal update

Removed purl dep
use regex to get the value