Is there some how using a code to add a new URL parameter, for example:
http://example.com/mypage?par=1&par2=2
I need in my code something like:
if (myVar == 'abc') {
// add a par3=3 without navigate/refresh the page - just to
// add a decoration on the URL for bookmarks purposes,
// for example: when user bookmark it and go back,
//I will be displaying the same dialog box
}