fixes to $modal url