use sheet style for some dialogs on mac
convert some MessageBoxes to sheets on mac