fixed dialog issue in settings page