Implement the AboutToShow callbacks