Modal overlay after click on redactor button


Active member
I would like to add a custom button to my redactor editor. If a user clicks on this button a modal overlay should appear containing a form with some input fields. The insert image button already works similar.

Any ideas where to start?