Numerous CSS improvements to modal dialogs