This is copy-pasted from the decompiled code of the Edit button click method in the device editor (presentation details) dialog box, which opens an additional modal:
SheerResponse.ShowModalDialog(urlString.ToString(), "720", "480", string.Empty, true);