Add reference to parent window into the View.