fix: ESC when 'restore default settings' confirmation box is opened would close settings and not confirmation box