Tidied up a dialog.