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: gitlab-design#1138 (closed)

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

Screen_Recording_2020-06-26_at_11.11.54_AM

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info
(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`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(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)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)