Adding setting dialog.