removing empty tab when restoring tabs
more popup controls