Form as PopUp Box

Form as PopUp Box

I am having a difficult time successfully displaying a Form in a popup window. 

Deluge Script - On load:
  1. thisapp.PopUpForms.PopUpAddEvent();
Function:
  1. void PopUpForms.PopUpAddEvent()
  2. {
  3.      openUrl("#Form:Add_Event","popup window","height=600,width=1200");
  4. }
Problems/Issues:
  1. The purpose here is to allow our Users to submit an "Add Event" form while on another page/form/etc. 
  2. The popup displays with the code above, however the background/main window also changes to the "Add Event" form and the popup window is continuously loading
  3. We would like to simply remain on the current page/form/etc., click "Add Event", popup the new form, submit, then have popup window close on submission. 
Any and all assistance with this is greatly apprecaited. Thank you!