history module: no need to do an initial pushstate. Update dialog parameter encoding to avoid URL encoding