Move setupDeleteControl from sidebar_widgets into widget_form

Closes #41