Make popup inherit from widget box