Merge pull request #11088 from JosJuice/uicommon-set-enable-alert Move a SetEnableAlert call to UICommon