Loading the layout on form load event, and not on constructor, to avoid object disposed exception.