restyled #maindialog