public void HideErrorMessagePopup() { if (_errorPopup != null) { _errorPopup.Hide(); _errorPopup.Dispose(); _errorPopup = null; } }