Make it possible to disable new media UI (Amazon S3 extension requires it). #612