locationdialog: change locationwindow.ui type to Dialog