avoid calling Popup::ErrorDetails with nil details