Sticky Title does not update after clicking Comment and close issue
### Summary
The status does not match in the page title and the status in the sticky title.
### Steps to reproduce
After making a comment and closing the issue with the Comment and close issue button, the status did not change to Closed.
### Example Project
Here's the exact page where I observed the bug:
https://gitlab.com/gitlab-org/gitlab-design/-/issues/1138
### What is the current *bug* behavior?
The status is out of sync between the page title and the sticky title.
### What is the expected *correct* behavior?
The status should match in the page title and sticky title.
### Relevant logs and/or screenshots

### Output of checks
This bug happens on GitLab.com
#### Results of GitLab environment info
<details>
<summary>Expand for output related to GitLab environment info</summary>
<pre>
(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)
(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
</pre>
</details>
#### Results of GitLab application Check
<details>
<summary>Expand for output related to the GitLab application check</summary>
<pre>
(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:check SANITIZE=true`)
(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true`)
(we will only investigate if the tests are passing)
</pre>
</details>
### Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
issue