If selector is not defined, don't remove scripts when we reload a form,
to be consistent with jQuery.load implementation.
Then we can use formOverlayLoadSuccess and formOverlayLoadFailure to do
the filtering and have working javascript enabled widgets in overlay.