@shacker this is basically a copy/paste from the task editor code with some small modifications, right?
Can't we re-use that somehow by including that template?