When I use formContext.ui.close(); to close a form that has dirty/edited fields on it I get the standard browser dialog "Your changes have not been saved." I want to ignore or suppress this dialog and not save the changes on the form and close the form window. The reason I am trying to do this is that I am launching an external website from this form and I don't need the form edits to be saved after the external website is launched.
I am running Dynamics v9 on-premise and we are not using the Unified Interface.