minor fixes: scrollView on dialog; calc cycle