add a spatialwindow dialog