Determine if dialogs are the main Mercury Editor tray or a modal dialog, and resize them differently.
merged