Fixed dom leak in sidebar.