Added a settings editing dialog.