work with diaolgs views