When in Documents page, clicking "new folder" or "new document" brings up a modal popup. This modal is in an iframe which is using the sites masterpage layout. So I'm seeing the site Breadcrumb again inside the modal. Also, all CSS and Script references are loaded again in the mobile because of this.
Is there a way to remove the modal popups from using the site masterpage?