- right mouse button no longer can close the dialog
- fixed a fatal error if an unknown position type was used