Make popup show errors better