improved params samle. add classic dialog