Removed calls to getInheritedTheme().
Dialog: Added ui-corner-all for close button.