select dialog & tree dialog