fix typo in sidebar.close