filling out the modal dialog.