type dialog