Before taskpanel/task/maintask/subtask