Add a textbox in the default dialog box (pop up).

Add a textbox in the default dialog box (pop up).

Hi,

I want to add a text box at the end of the dialog box, so I have achieved this like this
  1. $(".LASERAction").dialog({
  2. autoOpen: false,
  3. height: 450,
  4. width: 600,
  5. modal: true,
  6. buttons: {
  7. Ok: function () {
  8. //My Submit code
  9. }
  10. }
  11. });
  12. var textBoxHTML = '<div style="position:relative"><input type="text" class="form-control InteractionText" id="InteractionFinalText" /></div>'
  13. $(".ui-dialog-buttonpane").prepend(textBoxHTML);
When I have implemented this the text box is adding at all the places wherever I am using the dialog.
 But my requirement is that I want to add this text box to only one scenario of my application, means that I have used dialog box at several places, but need to add at only one place. 

Is there any option 
  1. $(".LASERAction").dialog({
  2. });
in this method so that we can add our own code to the dialog wherever we needed.

Thanks.