add tabs to document editor