Add possibility to set dialog result in the window service