Removed flicker for nested modal dialogs.