Adding a task to a default note

What I’m trying to do

I’m trying to create a hotkey that adds a task to a given default note, using the create/edit task modal.

Things I have tried

I’ve set up a QuickAdd macro that 1. Opens my default task note 2. runs the create/edit task command.

However, what happens is that if there already tasks in the note, the create/edit task commands starts editing the task where the cursor is, overwriting that task.

What I seem to need is an in-between step to append a new task to the note, but I can’t find any command to, for example, add a new line to the note and run the create/edit command from there. But perhaps I’m on the wrong track entirely. Any suggestions?