do not load rights tab on new documents (not existing ones e.g. template
mode)
fix documents wrongly getting created on loading editor tabs if editor
is in inline/template mode