Handle case where tab that was open is closed (by page itself)