Differentiate resizing behavior based on dialog type.
Determine if dialogs are the main Mercury Editor tray or a modal dialog, and resize them differently.
Determine if dialogs are the main Mercury Editor tray or a modal dialog, and resize them differently.