Open modal for view details of task

Do you know how to do this one? In task_private.php I send the attributes for but details.php page but how to open this in a modal window?

In main JS file (will better if you copy&past whole function to JS file of your plugin and will change there) to find the function “redirectToTaskView” and replace:
window.location = taskUrl
to, 'medium', !1)
you can also replace the ‘medium’ size of window to ‘large’