Add Ctrl+g for goto line.

Input validation:
Integer value between 1 and maximum number of lines in the file

Validation only occurs when user clicks OK. (And doesn't give a visual indicator that the user typed invalid data (instead, the dialog will just not close).