Checking for OS version, rebuild dialogs.