CORE-228 Close zero tabs

Previously hash url was not updated correctly when closing a tab.