Optimistic Issue closing with JS
When you reopen or close an issue, you always force a refresh, which also refocuses your window. This means you pop up to the top of the page, unless your url has an anchor.
I think we should use optimistic JS that immediately changes the DOM state and sends an AJAX request to close the issue on the backend. This is how React / Flux handles these things as well and makes for a smoother experience.
@dzaporozhets thoughts?