Fix: Clicking on "Insert" icon does nothing

This is a similar fix as croogo/croogo@a24972868678

Closes #6
Closes croogo/croogo#560