Added title option to RecordDialog.