When open/hide postbox - use same selectors as WP

To ensure hidden fields get correctly initialized.