add missing add_action for hiding editor