Yep, onHide is optional and this function didn't actually do anything.