fix can not cancel loading dialog in device request settings