I dont know if i'm posting this right.
i have a problem with the popup windows and the ribbons.
i have created some webparts, and i place this on the newForm.aspx and the EditForm.aspx.
i have written a save button and close button, within my webpart.
so the ribbon is not needed anymore.
how do i remove or hide the ribbon on the dialog window?