JS Contents API doesn't need dialog module
Merge pull request #6873 from takluyver/contents-api-no-dialog

JS Contents API doesn't need dialog module