fix: destroy plugin when form is removed