Update URL query string with query id when a query has been saved

https://www.openproject.org/work_packages/8444