Split out dirty checking of requests
Return promise from `toggleDirtyRequests`
Merge branch 'request-toggling'