Added new event handling for Dimension changed event.