the canFocus/canCopy separate variables was silly, as we ended up
with text that could be copied from the context menu but not with
a shortcut key. also we default to allowing focus now, since that's
the more sensible default. fixes copy issues with card info dialog and
some addons
- setting current tab index triggered the function, so we don't need to call
it manually
- no need to set index after adding card either, as it defaults to the most
recently added tab
Like this styling can be applied to id (or rather, the effect of styling to it can be seen in the layout editor.)
Also removed what looks like an extra '<center></center>'. That is added three lines later.