Hook new-task window to the back-end