Added start and close sessions in secDialog