add a new event to warn possible controller that we are going
to transition, add a hide() method counterpart to the show()
method.