typing, loseDialog to initActivity