Hi there,
I've run into the following bug. When using a view with exposed filters in a modal (ajax enabled for the view), the exposed form stops working when closing and opening the modal again. Hitting the apply button has no effect and a js error about scrolltotop is thrown.
The drupal and views ajax are complex, and I'm not completely sure what happens. As far as I can see, settings coming from the view page are added to the parent page and a list of ajax views is built up there each time the modal with the view is opened.
Some tests / observations:
Inside Drupal.views.ajaxView this.$exposed_form.once('exposed-form').each($.proxy(this.attachExposedFormAjax, this));
is called. When the once is removed, the form submits again.
The js error inside Drupal.AjaxCommands.prototype.viewsScrollTop can be fixed by checking for the existence of the response.selector element first.
A similar issue is reported on entity reference browser: https://www.drupal.org/node/2844659.