Optimize GUI dialog support