integrate calculation result dialog into GUI