remove output from set when deleted

TODO: widget.closeEvent