make dialog nicer. fix build