implement default open/close for plugins