class="open" should not override persist state

Currently, the plugin doesn't distinguish between persist not having a key or having a false value.

What I think should happen is that the truth value of persist should be used if present, otherwise the open class should behave as normal.