adding tab panel to document.Main view
connect document.Grid to store
document status decoration