Dialog check is properly working

Invoking into settings now works without a crash