Issue #143: added appropriate dialog sizing and scrolling