public bool AllowUserToEditTask(ref data.Task task) { task = _dlg.Edit(task); return(task != null); }