completed the common dialogs & distance scale dialogs