refactored strings into settings
refactored setting of dialog properties into separate method
created new enum for dialogs