Removed any model reference in sidebar.hide

Workaround for popcorn-team/popcorn-app#253, this let the user close the
sidebar in case of the undefined model glitch