Prevent deselecting a tab