Adjusting problem parameters and dialog size