If you are using bootstrap modal so below code is working :
$('#myModal').on('loaded.bs.modal', function (e) {
if (typeof (history.pushState) != "undefined") {
var obj = { Title: "About Us", Url: 'about?utm_form=popup' };
history.pushState(obj, obj.Title, obj.Url);
}
})