Step 1. Set property required=true in activation dialog.
Step 2. Add the following code to the saveOnClick property of the dialog.
if(document.getElementById('comment').value != '') {window.close();opener.mgnl.workflow.WorkflowWebsiteTree.submitActivation($('mgnlFormMain'));} else {alert('Must write a comment for activation.');}