No, the way you'll want to handle this is to write your own function that wraps the call to $(".LASERAction").dialog({ with your own logic. Then your function can take a parameter which allows you to then decide if you want to add the extra textbox or not.
Something like:
function CustomDialog(AddTextBox)
{
if (AddTextBox)
{
...
}
}