opening new document editor into a new tab