fix width of dialog