Bug fix for dialog frame too big and more dialog customizations.