Avoid unnecessary tab/window switch