And what do you want to do when the from is opened in a dialog and saved? Do you need to redirect a user to the newly created item or open it in a new tab?
Getting closer
I have the Dialog opening but, something is not loading right.
After launching the Dialog, the Close Button does not work, and it throws an error:
Blockquote
spform.js:51 TypeError: Cannot read property 'map' of undefined
I have removed all of my code on the Dialogs to make sure it is not something I am doing, and there is no change,
One thing I tried was to redirect to the Display form, and the close button throws the error, but the Edit button worked, so I clicked on that, which worked, and the Dialog form went to the Edit version, but then the Save and Close both throw the error. WHen I redirect to teh Edit, neither the Close or Save buttons work