I am having the following issue in SharePoint 2013 Online (Office 365 Preview): when I try to display in a modal dialog a page that relies on MDS (Minimal Download Strategy), the dialog opens but then closes immediately.
Is this a known issue, and how can I fix this?
To be more specific:
- I am using
SP.UI.ModalDialog.showModalDialogto open the dialog - MDS pages are pages whose url contains
/_layouts/15/start.aspx#
When I remove the MDS part from the url the dialog works fine.
[Edit] To clarify, I am talking about having the mds page inside the dialog, not calling the dialog from a mds page. Something like this:
SP.UI.ModalDialog.showModalDialog({url:'/someSite/_layouts/15/start.aspx#/SitePages/Home.aspx'})

showModalDialog? – James Love Feb 25 at 22:42/_layouts/14/start.aspx#/SitePages/Home.aspx, I runSP.UI.ModalDialog.showModalDialog({url:'/_layouts/settings.aspx'})from IE developer tools and the dialog shows just fine. The portal is Office365 E3. Can you provide more details? – Andrey Markeev Mar 8 at 9:08