How to add custom action to views without records

How to add custom action to views without records

I have a Contacts View with a Notes button on each record in the view. When I press the Notes button for "John", it shows the Notes View filtered for the Contact John. However, when I press Add in the Notes View for John's Contact, it does not populate the John's Contact Form ID on the new note. Thus, there is no connection between the Contact John and that new Note that was just created.

How can I ensure the Contact Form ID for John is passed to the new Note, to maintain the connection?