Complement onShow with onHide