Popup now uses open class, resolves #250