Close popup when a resource has no methods.