Added dismiss button to settings dialog