Reset the dirty flag if the permalink link is clicked.