Dialog Form with target frame

Dialog Form with target frame

Hi Guys ,
i'am lilt bit stuck here .. i want to open a dialog form on button click ..the issue is it is not opening in the right frame and it is located in the top frame menu frame. How van i do that?
i want to open that dialog in a frame called "frame_content" 
below is my code :

thanks


  1. $( "#create-user" )
  2.             .button()
  3.             .click(function() 
  4. {
  5.                 $( "#dialog1-form" ).dialog( "open" );
  6.             });