Issue #2413709 by geertvd, Lendude: Javascript error after using jQuery UI Dialog close button in Views UI