Removing an input element from one of the widget