create dialog when exit test screen