[DF-3338] add tab closing into QtMainWindow::OnProjectClose