opening new document tab
moving "new document" to document.Main panel