The "service class" is the place for your business logic. I assume you want to do something with values from your dialog, don't you? Therefore the answer to your question whether you can skip it is "no".
The dialog is constructed by a UI builder class, so that's where your lookup logic belongs.