Added Ok button to errorPopup.