add tab and videodialog