Refactor open/close to show/hide.