Refactor to allow a method to be added to the Service to show a plot
dialog.
Get dialog working after refactoring changes.
Version with old user input working the same way but refactoring for the
plot method in place.