Grab task-formatted text and paste at selected header

I’ve been doing project / task management in Drafts for awhile and had hacked together a way of moving text to a particular header but it was creaky and required me to manually paste. Now, thanks to the TAD library I was able to build a more automated solution:

My projects are formatted like so:

# Project

# Inbox

- task title
- second task title
    > notes

# Next Actions

- [ ] task

# Other headers

Put the cursor on the title line of any task, then invoke the action. Will present a menu of headers to choose from (including the ability to type ahead find) and the task will be pasted automatically right under that header. Will work fine with tasks prepended with just a dash, or a dash and the brackets.