I am not sure dialog will work for this. I need to be able to have a blank text field to enter in a line number and then perform the scroll function. It does not appear that a dialog box allows for text insertion. Am I wrong in thinking this way? If so how would I accomplish this. I read the docs on the module and saw no option for this functionality.