Maybe fixing the toggleModal system once and for all.
Added a method for returning all requests in mock-ajax.