When service editor dialogs display, position them relative to the browser
Code improvements